ci: basic github action for coverage (#537)

This commit is contained in:
Thomas Pelletier
2021-05-09 17:37:03 -04:00
committed by GitHub
parent 45ea20024b
commit 3db329a512
5 changed files with 256 additions and 65 deletions
+23
View File
@@ -0,0 +1,23 @@
name: coverage
on:
push:
branches:
- v2
pull_request:
branches:
- v2
jobs:
report:
runs-on: 'ubuntu-latest'
name: report
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: Setup go
uses: actions/setup-go@master
with:
go-version: 1.16
- name: Run tests with coverage
run: ./ci.sh coverage -d "${GITHUB_BASE_REF-HEAD}"