Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
martinjankoehler authored Dec 5, 2024
1 parent c4d599d commit 1c89c86
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -171,16 +171,17 @@ jobs:
- name: "[Python] Install dependencies"
run: poetry install --no-interaction --no-root
shell: bash # NOTE: required for windows poetry calls

- name: "[Python] Install project"
run: poetry install --no-interaction
shell: bash # NOTE: required for windows poetry calls

- name: "[Python] Run Unit tests"
run: >
poetry run coverage run -m pytest -m "not slow"
--alluredir ${{ env.ALLURE_RESULTS_PATH }}
--color no

- name: "[Python] Install project"
run: poetry install --no-interaction
shell: bash # NOTE: required for windows poetry calls

- name: "[Python] Build wheel and source archives"
run: poetry build --output dist
shell: bash # NOTE: required for windows poetry calls

- name: "[Python] Store dist artifact"
Expand All @@ -191,6 +192,13 @@ jobs:
retention-days: 7
if-no-files-found: error

- name: "[Python] Run Unit tests"
run: >
poetry run coverage run -m pytest -m "not slow"
--alluredir ${{ env.ALLURE_RESULTS_PATH }}
--color no
shell: bash # NOTE: required for windows poetry calls

- name: "[Python] Create coverage report"
if: success() || failure()
run: poetry run coverage html --directory ${{ env.COVERAGE_REPORT_PATH }}
Expand Down

0 comments on commit 1c89c86

Please sign in to comment.