Skip to content

Fix bug where FileMapper output was being overwritten in every loop #824

Fix bug where FileMapper output was being overwritten in every loop

Fix bug where FileMapper output was being overwritten in every loop #824

Workflow file for this run

name: Go Tests
on:
push:
jobs:
# Temporarily disabling linting
# lint:
# name: lint
# runs-on: ubuntu-latest
# steps:
# - uses: actions/setup-go@v3
# with:
# go-version: 1.21
# - uses: actions/checkout@v3
# - name: golangci-lint
# uses: golangci/golangci-lint-action@v3
# with:
# version: latest
# args: --timeout 3m --verbose
build:
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- 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: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Unit Tests
run: make test-verbose
mongoTest:
runs-on: ubuntu-latest
needs: build
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Download funnel bin
uses: actions/download-artifact@v2
with:
name: funnelBin
- name: MongoTest
run: |
chmod +x funnel
make start-mongodb
sleep 10
make test-mongodb
badgerTest:
runs-on: ubuntu-latest
needs: build
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Download funnel bin
uses: actions/download-artifact@v2
with:
name: funnelBin
- name: Badger Test
run: |
chmod +x funnel
make test-badger
slurmTest:
runs-on: ubuntu-latest
needs: build
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Download funnel bin
uses: actions/download-artifact@v2
with:
name: funnelBin
- name: Slurm Test
run: |
chmod +x funnel
make test-slurm
s3Test:
runs-on: ubuntu-latest
needs: build
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v5
with:
go-version: 1.21
- name: Check out code
uses: actions/checkout@v2
- name: Download funnel bin
uses: actions/download-artifact@v2
with:
name: funnelBin
- name: S3 Test
run: |
chmod +x funnel
make start-generic-s3
sleep 10
make test-generic-s3