Skip to content

gha: e2e

gha: e2e #45

Workflow file for this run

name: Unit Tests and Coverage
on:
pull_request:
branches: [ main ]
jobs:
test_and_coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go 1.19
uses: actions/setup-go@v4
with:
go-version: ^1.19
- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic -v ./...
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3