-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust how unit tests are referencing module (#49)
* Adjust how unit tests are referencing module * Revert settings change * Re-add __init__.py
- Loading branch information
1 parent
18bf2bf
commit 434e737
Showing
11 changed files
with
47 additions
and
29 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,13 +34,12 @@ jobs: | |
- name: Test with pytest | ||
run: | | ||
pytest \ | ||
--doctest-modules \ | ||
--junitxml=junit/test-results.xml \ | ||
--cov=abbfreeathome \ | ||
--cov=. \ | ||
--cov-report=xml:coverage/coverage.xml \ | ||
--cov-report=html:coverage/htmlcov | ||
--junitxml=junit/test-results.xml | ||
- name: Code Coverage Summary Report | ||
id: coverage | ||
uses: irongut/[email protected] | ||
with: | ||
filename: coverage/coverage.xml | ||
|
@@ -51,12 +50,12 @@ jobs: | |
thresholds: '100 100' | ||
|
||
- name: Write Coverage to Job Summary | ||
if: success() || failure() # always run even if the previous step fails | ||
if: success() || steps.coverage.conclusion == 'failure' | ||
run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY | ||
|
||
- name: Publish Test Report | ||
uses: mikepenz/[email protected] | ||
if: success() || failure() # always run even if the previous step fails | ||
if: success() || failure() | ||
with: | ||
report_paths: junit/test-results.xml | ||
detailed_summary: true | ||
|
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
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
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
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