Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,13 @@ jobs:
poetry run python3 -m coverage run -a -m unittest discover -v src/krkn_lib/aws_tests/

- name: Combine coverage and publish
if: ${{ success() || failure() }}
if: ${{ always() }}
run: |
poetry run python3 -m coverage html
poetry run python3 -m coverage json

- name: Publish coverage report to job summary

if: ${{ matrix.python-version == '3.9'}}
if: ${{ always() }}
run: |
poetry run html2text --ignore-images --ignore-links -b 0 htmlcov/index.html >> $GITHUB_STEP_SUMMARY
- name: Update version number
Expand All @@ -150,12 +149,14 @@ jobs:
run: |
poetry build
- name: Upload json coverage
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: coverage.json
path: coverage.json
if-no-files-found: error
- name: Upload dist artifact
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: dist
Expand Down
Loading
Loading