Skip to content

Commit

Permalink
github/workflows: get integration coverage from secure test
Browse files Browse the repository at this point in the history
Signed-off-by: Jakob Hahn <jakob.hahn@hetzner.com>
  • Loading branch information
Jakob3xD committed Apr 9, 2024
1 parent 4a3b690 commit 5274903
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/test-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ jobs:
for attempt in `seq 25`; do sleep 5; \
if curl -s localhost:9200; \
then echo '=====> ready'; break; fi; if [ $attempt == 25 ]; then exit 1; fi; echo '=====> waiting...'; done
- run: make test-integ race=true coverage=true
- uses: codecov/codecov-action@v3
with:
file: tmp/integ.cov
flags: integration
- run: make test-integ race=true

secured:
name: Tests against secure cluster
Expand All @@ -54,4 +50,8 @@ jobs:
for attempt in `seq 25`; do sleep 5; \
if curl -s -ku admin:myStrongPassword123! https://localhost:9200; \
then echo '=====> ready'; break; fi; if [ $attempt == 25 ]; then exit 1; fi; echo '=====> waiting...'; done
- run: make cluster.get-cert test-integ-secure
- run: make cluster.get-cert test-integ-secure race=true coverage=true
- uses: codecov/codecov-action@v3
with:
file: tmp/integ.cov
flags: integration

0 comments on commit 5274903

Please sign in to comment.