mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 17:09:37 +02:00
Use Github.com actions to run tests and e2e tests. (#1215)
* Use GH action to run tests and end 2 end tests. * Remove travis.
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: ubuntu
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: "^1.15.5"
|
||||
- name: Make dependencies
|
||||
run: make deps
|
||||
- name: Compile
|
||||
run: make linux
|
||||
- name: Run unit tests
|
||||
run: go test ./...
|
||||
- name: Run end-2-end tests
|
||||
run: make e2e
|
||||
Reference in New Issue
Block a user