Skip to content

Feature/add missing fields (#231) #103

Feature/add missing fields (#231)

Feature/add missing fields (#231) #103

Workflow file for this run

name: tests
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
go: [1.16.x, 1.17.x, 1.18.x, 1.19.x, 1.20.x, 1.21.x, 1.22.x]
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Install goveralls
run: go install github.com/mattn/goveralls@latest
- name: Build
run: go build -v ./...
- name: Run tests
run: go test -race -covermode=atomic -coverprofile=covprofile -v ./...
- name: Update coverage
env:
COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: goveralls -ignore=apns2/main.go -coverprofile=covprofile -service=github