Skip to content

Commit

Permalink
test report for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
kozlov721 committed Dec 19, 2023
1 parent 27500ae commit 2f46469
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/luxonis-ml-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,13 @@ jobs:
uses: pavelzw/pytest-action@v2
with:
emoji: false
custom-arguments: --cov ${{ github.event.inputs.src-dir }} --cov-report xml
custom-arguments: --cov ${{ github.event.inputs.src-dir }} --cov-report xml --junit-xml pytest.xml

- name: Create Test Report
uses: EnricoMi/publish-unit-test-result-action@v2
if: ${{ matrix.os == needs.setup.outputs.os-default && matrix.python-version == needs.setup.outputs.python-default && github.event_name == 'pull_request' }}
with:
files: pytest.xml

- name: Generate coverage badge
uses: tj-actions/coverage-badge-py@v2
Expand Down

0 comments on commit 2f46469

Please sign in to comment.