Skip to content

Commit dc0f33d

Browse files
authored
tests: Use Github actions instead of Travis (#58)
1 parent df85465 commit dc0f33d

File tree

2 files changed

+36
-35
lines changed

2 files changed

+36
-35
lines changed

.github/workflows/test.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: test
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
pull_request:
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
pgversion: ["latest", 12, 11, 10, 9]
16+
17+
env:
18+
PGVERSION: ${{ matrix.pgversion }}
19+
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v2
23+
24+
- name: Set up Go
25+
uses: actions/setup-go@v2
26+
with:
27+
go-version: 1.15
28+
29+
- name: test
30+
run: make test
31+
32+
- name: vet
33+
run: make vet
34+
35+
- name: testacc
36+
run: make testacc

.travis.yml

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

0 commit comments

Comments
 (0)