diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..38e4b86 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,16 @@ +# SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later + +jobs: + tests: + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@master + - uses: actions/setup-go@v2 + with: + go-version: '1.14' + - name: Run tests + run: go test -v -covermode=count -coverprofile=profile.cov ./... + - name: Send coverage report to coveralls + uses: shogo82148/actions-goveralls@v1 + with: + path-to-profile: profile.cov |