1
0
forked from MTSR/mapserver
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:
runs-on: ubuntu-22.04
2019-11-28 13:24:31 +03:00
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5.0.1
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.9.0
2021-04-12 14:32:33 +03:00
with:
path-to-profile: profile.cov