Skip to content

Fix Base64 test (due to dependency upgrades) #38

Fix Base64 test (due to dependency upgrades)

Fix Base64 test (due to dependency upgrades) #38

Workflow file for this run

name: Go Tests
on:
push:
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
skip-cache: true
args: --verbose --timeout 3m --disable-all --enable=govet --enable=gofmt --enable=goimports --enable=misspell
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Build
run: make build
- name: Store Funnel
uses: actions/upload-artifact@v4
with:
name: funnelBin
path: funnel
unitTest:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Unit Tests
run: make test-verbose
mongoTest:
runs-on: ubuntu-latest
needs: build
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: MongoTest
run: |
make start-mongodb
sleep 10
make test-mongodb
badgerTest:
runs-on: ubuntu-latest
needs: build
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Badger Test
run: make test-badger
slurmTest:
runs-on: ubuntu-latest
needs: build
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: Download funnel bin
uses: actions/download-artifact@v4
with:
name: funnelBin
path: .
- name: Slurm Test
run: |
chmod +x funnel
make test-slurm
s3Test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version-file: go.mod
- name: S3 Test
run: |
make start-generic-s3
sleep 10
make test-generic-s3