Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 51 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ on:
jobs:

test:
name: run tests with code coverage
name: run tests with go 1.16 and code coverage
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
- name: Set up Go 1.16
uses: actions/setup-go@v1
with:
go-version: 1.13
go-version: 1.16
id: go

- name: Check out code into the Go module directory
Expand All @@ -25,3 +25,51 @@ jobs:
uses: codecov/codecov-action@v1
with:
file: ./coverage.txt

test-v115:
name: run tests with go 1.15
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.15
uses: actions/setup-go@v1
with:
go-version: 1.15
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: go test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...

test-v114:
name: run tests with go 1.14
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: go test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...

test-v113:
name: run tests with go 1.13
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go

- name: Check out code into the Go module directory
uses: actions/checkout@v1

- name: go test
run: go test -race -coverprofile=coverage.txt -covermode=atomic ./...