Skip to content

Commit a7f4533

Browse files
authored
Use Github.com actions to run tests and e2e tests. (zalando#1215)
* Use GH action to run tests and end 2 end tests. * Remove travis.
1 parent 49158ec commit a7f4533

File tree

3 files changed

+25
-24
lines changed

3 files changed

+25
-24
lines changed

.github/workflows/run_e2e.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: ubuntu
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches:
7+
- master
8+
9+
jobs:
10+
tests:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v1
14+
- uses: actions/setup-go@v2
15+
with:
16+
go-version: "^1.15.5"
17+
- name: Make dependencies
18+
run: make deps
19+
- name: Compile
20+
run: make linux
21+
- name: Run unit tests
22+
run: go test ./...
23+
- name: Run end-2-end tests
24+
run: make e2e

.travis.yml

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

delivery.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ pipeline:
1616
- desc: 'Install go'
1717
cmd: |
1818
cd /tmp
19-
wget -q https://storage.googleapis.com/golang/go1.14.7.linux-amd64.tar.gz -O go.tar.gz
19+
wget -q https://storage.googleapis.com/golang/go1.15.5.linux-amd64.tar.gz -O go.tar.gz
2020
tar -xf go.tar.gz
2121
mv go /usr/local
2222
ln -s /usr/local/go/bin/go /usr/bin/go

0 commit comments

Comments
 (0)