-
Notifications
You must be signed in to change notification settings - Fork 161
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* CI: Report test summary Signed-off-by: Brad Keryan <brad.keryan@ni.com> * CI: Consolidate test reporting Signed-off-by: Brad Keryan <brad.keryan@ni.com> * CI: Use bash to rename test results Signed-off-by: Brad Keryan <brad.keryan@ni.com> * CI: Revert filenames to kebab-case Both Tox envs and GitHub labels use kebab-case, so why fight it? Signed-off-by: Brad Keryan <brad.keryan@ni.com> * CI: Disable fail-fast for tests Signed-off-by: Brad Keryan <brad.keryan@ni.com> * CI: Fix renaming test results on Windows Signed-off-by: Brad Keryan <brad.keryan@ni.com> * CI: Use EnricoMi's test reporting action Signed-off-by: Brad Keryan <brad.keryan@ni.com> * CI: Don't forget to run report_test_results Signed-off-by: Brad Keryan <brad.keryan@ni.com> --------- Signed-off-by: Brad Keryan <brad.keryan@ni.com>
- Loading branch information
Showing
6 changed files
with
65 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Report test results | ||
|
||
on: | ||
workflow_call: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
checks: write | ||
pull-requests: write | ||
|
||
jobs: | ||
report_test_results: | ||
name: Report test results | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repo | ||
uses: actions/checkout@v3 | ||
- name: Download test results | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: test_results | ||
path: test_results | ||
- name: List downloaded files | ||
run: ls -lR | ||
- name: Publish test results | ||
uses: EnricoMi/publish-unit-test-result-action@v2 | ||
with: | ||
files: "test_results/*.xml" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ __pycache__/ | |
|
||
# Unit tests | ||
.tox/ | ||
pytests-py*.xml | ||
test_results/ | ||
|
||
# Coverage output | ||
.coverage | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters