Skip to content

Commit

Permalink
Update ci-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjankoehler authored Dec 12, 2024
1 parent c644dd4 commit 161b529
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -243,25 +243,15 @@ jobs:
--color no
shell: bash # NOTE: required for windows poetry calls

- name: "[🐍] Create coverage report"
if: success() || failure()
run: poetry run coverage html --directory ${{ env.COVERAGE_REPORT_PATH }}
shell: bash # NOTE: required for windows poetry calls

# - name: "Print listing of build dir"
# if: success() || failure()
# run: find ${{github.workspace}}/build -path ${{github.workspace}}/build/_deps -prune -o -print
# shell: bash # NOTE: required for windows

- name: "[🐍] Store coverage results"
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: python-unit-test-coverage-report-${{ matrix.os }}_py${{ matrix.python-version }}
path: ${{ env.COVERAGE_REPORT_PATH }}
path: .coverage # NOTE: pytest-cov coverage binary file, can be combined later!
retention-days: 1
if-no-files-found: error

- name: "[🐍] Store allure test results"
if: success() || failure()
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 161b529

Please sign in to comment.