mapserver/.github/workflows/go-test.yml

21 lines
368 B
YAML
Raw Normal View History

2019-11-28 13:27:29 +03:00
name: go-test
2019-11-28 13:24:31 +03:00
2020-01-13 19:33:06 +03:00
on: [push, pull_request]
2019-11-28 13:24:31 +03:00
jobs:
build:
2020-12-14 11:44:17 +03:00
runs-on: ubuntu-20.04
2019-11-28 13:24:31 +03:00
steps:
2022-03-06 13:56:24 +03:00
- uses: actions/checkout@v3
- uses: actions/setup-go@v5.0.0
2019-11-28 13:24:31 +03:00
with:
go-version: '1.21'
2019-11-28 13:24:31 +03:00
- name: test
2021-04-12 14:32:33 +03:00
run: go test ./... -coverprofile=profile.cov
- uses: shogo82148/actions-goveralls@v1.8.0
2021-04-12 14:32:33 +03:00
with:
path-to-profile: profile.cov