Skip to content

Commit 80f709f

Browse files
author
Lucas Michot
authored
Move tests from TravisCI to Github Actions. (#96)
1 parent 297acea commit 80f709f

File tree

2 files changed

+28
-10
lines changed

2 files changed

+28
-10
lines changed

.github/workflows/tests.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Tests
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
tests:
9+
runs-on: ubuntu-latest
10+
11+
strategy:
12+
fail-fast: true
13+
matrix:
14+
go-version: [ 1.12.x, 1.13.x, 1.14.x, 1.15.x, 1.16.x ]
15+
16+
name: Go ${{ matrix.go-version }}
17+
18+
steps:
19+
- name: Checkout the code
20+
uses: actions/checkout@v2
21+
22+
- name: Install Go
23+
uses: actions/setup-go@v2
24+
with:
25+
go-version: ${{ matrix.go-version }}
26+
27+
- name: Run the tests
28+
run: go test ./...

.travis.yml

Lines changed: 0 additions & 10 deletions
This file was deleted.

0 commit comments

Comments
 (0)