Skip to content

Create LICENSE

Create LICENSE #40

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
go-version: [1.17]
steps:
- uses: actions/checkout@v2
- name: Use Go ${{ matrix.go-version }} on ubuntu-latest
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Test and Coverage
run: |
go test -v -coverprofile=coverage.txt.tmp -covermode=atomic ./...
cat coverage.txt.tmp | grep -v "testutils.go" > coverage.txt
- name: Upload coverage report
uses: codecov/codecov-action@v2
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: ./coverage.txt
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
verbose: true