Skip to content

Commit

Permalink
Switch from travis to github actions (#13)
Browse files Browse the repository at this point in the history
Run the go unit tests using a github action rather than
Travis. (The travis job is not being run automatically
any more)

Co-authored-by: Stuart McLaren <[email protected]>
  • Loading branch information
stuart-mclaren and stuart-mclaren authored Mar 13, 2023
1 parent 1dd2273 commit 9ebb80a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/gotest.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: gotest

on: [pull_request]

jobs:
gotest:
runs-on: ubuntu-22.04
strategy:
matrix:
goVer: [1.11, 1.12, 1.13, 1.14, 1.15, 1.16, 1.17, 1.18, 1.19]
steps:
- name: Set up Go ${{ matrix.goVer }}
uses: actions/setup-go@v1
with:
go-version: ${{ matrix.goVer }}
- name: Check out source
uses: actions/checkout@v1
- name: Test
run: go test -v -cover -race ./...
13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

0 comments on commit 9ebb80a

Please sign in to comment.