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

21 lines
368 B
YAML

name: go-test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4.1.0
with:
go-version: '1.21'
- name: test
run: go test ./... -coverprofile=profile.cov
- uses: shogo82148/actions-goveralls@v1.8.0
with:
path-to-profile: profile.cov