Skip to content

Merge pull request #6 from askolesov/go-report #19

Merge pull request #6 from askolesov/go-report

Merge pull request #6 from askolesov/go-report #19

Workflow file for this run

name: Test
on:
push:
workflow_call:
jobs:
test:
name: Run tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'
- name: Run unit tests
run: go test -race -coverprofile=coverage.out -covermode=atomic ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}