-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
676 additions
and
660 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -33,53 +33,6 @@ jobs: | |
run: | | ||
poetry run task test | ||
python .github/scripts/normalize_coverage.py | ||
mv .coverage .coverage.${{ matrix.platform }}.${{ matrix.python-version }} | ||
- name: Upload coverage artifact | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: coverage.${{ matrix.platform }}.${{ matrix.python-version }} | ||
path: .coverage.${{ matrix.platform }}.${{ matrix.python-version }} | ||
retention-days: 1 | ||
if-no-files-found: error | ||
|
||
upload-coverage: | ||
needs: [unit-tests] | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup poetry | ||
id: poetry_setup | ||
uses: ItsDrike/setup-poetry@v1 | ||
with: | ||
python-version: 3.12 | ||
install-args: "--no-root --only test" | ||
|
||
- name: Download all coverage artifacts | ||
uses: actions/download-artifact@v4 | ||
with: | ||
pattern: coverage.* | ||
merge-multiple: true # support downloading multiple artifacts to same dir | ||
|
||
# Combine all of the coverage files (for each os, python version - from matrix) | ||
# into a single coverage file (.coverage), and produce a final (combined) coverage report. | ||
- name: Combine coverage | ||
run: | | ||
coverage combine | ||
coverage xml | ||
coverage report | ||
- name: Upload coverage to codeclimate | ||
uses: paambaati/[email protected] | ||
env: | ||
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | ||
with: | ||
coverageLocations: .coverage.xml:coverage.py | ||
|
||
tests-done: | ||
needs: [unit-tests] | ||
if: always() && !cancelled() | ||
|
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 @@ | ||
Remove codeclimate |
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
Oops, something went wrong.