File tree Expand file tree Collapse file tree 3 files changed +36
-1
lines changed Expand file tree Collapse file tree 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
22
33on :
44 pull_request :
88
99jobs :
1010 tests :
11+ name : End-2-End tests
1112 runs-on : ubuntu-latest
1213 steps :
1314 - 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 11# Postgres Operator
22
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+
37<img src =" docs/diagrams/logo.png " width =" 200 " >
48
59The 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