Skip to content

tests

tests #38

Workflow file for this run

on:
push:
pull_request:
schedule:
- cron: '0 12 1 * *'
name: tests
jobs:
Test:
strategy:
fail-fast: false
matrix:
go-version:
- 1.12.x
- 1.13.x
- 1.14.x
- 1.15.x
- 1.16.x
- 1.x
os:
- ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test -coverprofile=coverage.txt -covermode=atomic ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v1