Skip to content

Merge pull request #193 from MyNextWeekend/spawnWorkers #23

Merge pull request #193 from MyNextWeekend/spawnWorkers

Merge pull request #193 from MyNextWeekend/spawnWorkers #23

Workflow file for this run

name: Run unittests
on:
push:
pull_request:
types: [synchronize]
jobs:
test:
strategy:
fail-fast: false
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v3
with:
go-version: '>=1.13.0'
- name: Checkout code
uses: actions/checkout@v3
- name: Run unittests and generate coverage report
run: go test -timeout 2m -coverprofile="cover.out" -covermode=atomic
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
with:
name: boomer # User defined upload name. Visible in Codecov UI
file: ./cover.out # Path to coverage file to upload
flags: unittests # Flag upload to group coverage metrics
verbose: true