Add flaky-service (#4834)

Use master branch for flaky-service

Generate TAP results during pytest
This commit is contained in:
Saugat Pachhai
2020-11-03 18:41:10 +05:45
committed by GitHub
parent fec1499c67
commit 60b69b93cb
2 changed files with 13 additions and 1 deletions
+12 -1
View File
@@ -60,9 +60,20 @@ jobs:
mkdir -p scripts/ci
echo "$GS_CREDS_JSON" > scripts/ci/gcp-creds.json
- name: run tests
run: python -m tests -ra --cov-report=xml --cov-report=term
run: python -m tests -ra --cov-report=xml --cov-report=term --tap-combined
- name: upload coverage report
uses: codecov/[email protected]
with:
file: ./coverage.xml
fail_ci_if_error: true
- name: Post TAP
# Running custom fork with an option, that does not fail CI on error
uses: skshetry/flaky-service/packages/action@master
if: ${{ always() }}
with:
file-path: ${{github.workspace}}/testresults.tap
repo-token: ${{ secrets.GITHUB_TOKEN }}
os: ${{runner.os}}
matrix: ${{toJson(matrix)}}
repo-description: ${{github.event.repository.description}}
fail_ci_if_error: false