mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-09-30 16:27:28 +02:00
Fix no space left error during e2e test setup (#3138)
* fix space issues for e2e test * pin exact minor release of coveralls
This commit is contained in:
@@ -21,5 +21,12 @@ jobs:
|
||||
run: make codegen
|
||||
- name: Run unit tests
|
||||
run: make test
|
||||
- name: Pre-pull heavy images directly on Kind nodes
|
||||
run: |
|
||||
FOR_NODE=$(kind get nodes --name postgres-operator-e2e-tests 2>/dev/null || true)
|
||||
for node in $FOR_NODE; do
|
||||
echo "Pulling Spilo image on node $node..."
|
||||
docker exec "$node" crictl pull ghcr.io/zalando/spilo-18:4.1-p2
|
||||
done
|
||||
- name: Run end-2-end tests
|
||||
run: make e2e
|
||||
|
||||
@@ -22,9 +22,9 @@ jobs:
|
||||
- name: Run unit tests
|
||||
run: go test -race -covermode atomic -coverprofile=coverage.out ./...
|
||||
- name: Convert coverage to lcov
|
||||
uses: jandelgado/gcov2lcov-action@v1.1.1
|
||||
uses: jandelgado/gcov2lcov-action@v1.2.0
|
||||
- name: Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
uses: coverallsapp/github-action@v2.3.4
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: coverage.lcov
|
||||
file: coverage.lcov
|
||||
|
||||
Reference in New Issue
Block a user