nws/.github/workflows/test.yml

18 lines
435 B
YAML
Raw Normal View History

2024-07-24 20:45:41 +00:00
name: tests
2024-08-28 20:37:39 +00:00
on: [ pull_request ]
2024-07-24 20:45:41 +00:00
jobs:
golang:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
2024-07-25 16:52:25 +00:00
go-version: 1.21
2024-07-24 20:45:41 +00:00
- name: Golang run tests
run: go test -coverprofile=coverage.txt -covermode=atomic -v ./...
- uses: codecov/codecov-action@v3
with:
verbose: true # optional (default = false)