Skip to content

Commit

Permalink
Track flaky tests using Google's service (iterative#4749)
Browse files Browse the repository at this point in the history
* Track flaky tests using Google's service

https://flaky-dashboard.web.app
More info: https://github.com/GoogleCloudPlatform/flaky-service

* Increment version
  • Loading branch information
skshetry authored Oct 20, 2020
1 parent feaa5cf commit 7527a22
Showing 2 changed files with 11 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
@@ -50,10 +50,19 @@ jobs:
git config --global user.email "[email protected]"
git config --global user.name "DVC Tester"
- name: run tests
run: python -m tests -ra --cov-report=xml
run: python -m tests -ra --cov-report=xml --tap-combined
- name: upload coverage report
if: github.event.name == 'push'
uses: codecov/[email protected]
with:
file: ./coverage.xml
fail_ci_if_error: true
- name: Post TAP
uses: GoogleCloudPlatform/flaky-service/packages/[email protected]
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}}
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
@@ -114,6 +114,7 @@ def run(self):
"pytest-cov>=2.6.1",
"pytest-xdist>=1.26.1",
"pytest-mock==1.11.2",
"pytest-tap",
"pytest-lazy-fixture",
"flaky>=3.5.3",
"mock>=3.0.0",

0 comments on commit 7527a22

Please sign in to comment.