Skip to content

Commit

Permalink
GitHub actions: cache pipx venvs
Browse files Browse the repository at this point in the history
Signed-off-by: flashdagger <flashdagger@googlemail.com>
  • Loading branch information
flashdagger committed Apr 2, 2024
1 parent 783fc14 commit 90b5be5
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/core-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
path: |
/opt/pipx/venvs/poetry
/opt/pipx_bin/poetry
key: pipx-venvs
key: pipx-venvs-poetry
- name: Install poetry
run: |
pipx install poetry
Expand Down Expand Up @@ -70,7 +70,17 @@ jobs:
uses: actions/download-artifact@v4
with:
merge-multiple: true
- run: pipx install coverage[toml]
- name: Pipx cache for coverage
uses: actions/cache@v4
with:
path: |
/opt/pipx/venvs/coverage
/opt/pipx_bin/coverage
key: pipx-venvs-coverage
- name: Install Python coverage
run: |
pipx install coverage[toml]
pipx list --verbose
- name: Merge coverage data and compute total coverage
continue-on-error: true
run: |
Expand Down

0 comments on commit 90b5be5

Please sign in to comment.