File tree 3 files changed +36
-1
lines changed
3 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 1
- name : ubuntu
1
+ name : operator-e2e-tests
2
2
3
3
on :
4
4
pull_request :
8
8
9
9
jobs :
10
10
tests :
11
+ name : End-2-End tests
11
12
runs-on : ubuntu-latest
12
13
steps :
13
14
- uses : actions/checkout@v1
Original file line number Diff line number Diff line change
1
+ name : operator-tests
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+
9
+ jobs :
10
+ tests :
11
+ name : Unit tests and coverage
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - uses : actions/checkout@v1
15
+ - uses : actions/setup-go@v2
16
+ with :
17
+ go-version : " ^1.15.5"
18
+ - name : Make dependencies
19
+ run : make deps
20
+ - name : Compile
21
+ run : make linux
22
+ - name : Run unit tests
23
+ run : go test -race -covermode atomic -coverprofile=coverage.out ./...
24
+ - name : Convert coverage to lcov
25
+ uses :
jandelgado/[email protected]
26
+ - name : Coveralls
27
+ uses : coverallsapp/github-action@master
28
+ with :
29
+ github-token : ${{ secrets.GITHUB_TOKEN }}
30
+ path-to-lcov : coverage.lcov
Original file line number Diff line number Diff line change 1
1
# Postgres Operator
2
2
3
+ ![ Tests] ( https://github.com/zalando/postgres-operator/workflows/operator-tests/badge.svg )
4
+ ![ E2E Tests] ( https://github.com/zalando/postgres-operator/workflows/operator-e2e-tests/badge.svg )
5
+ [ ![ Coverage Status] ( https://coveralls.io/repos/github/zalando/postgres-operator/badge.svg?branch=master )] ( https://coveralls.io/github/zalando/postgres-operator?branch=master )
6
+
3
7
<img src =" docs/diagrams/logo.png " width =" 200 " >
4
8
5
9
The Postgres Operator delivers an easy to run highly-available [ PostgreSQL] ( https://www.postgresql.org/ )
You can’t perform that action at this time.
0 commit comments