Skip to content

Commit

Permalink
ci: add rust cache to python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfikl committed Jan 2, 2025
1 parent c7d0ccf commit bba96a2
Showing 1 changed file with 13 additions and 12 deletions.
25 changes: 13 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
-
uses: actions/setup-python@v5
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v5
with:
python-version: '3.13'
cache: 'pip'
Expand Down Expand Up @@ -84,13 +84,14 @@ jobs:
os: [ubuntu-latest]
python-version: ['3.10', '3.11', '3.12', '3.13']
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'python/requirements-dev.txt'
- name: Run tests
run: |
make -C python pip-install
make -C python test
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: 'pip'
cache-dependency-path: 'python/requirements-dev.txt'
- name: Run tests
run: |
make -C python pip-install
make -C python test

0 comments on commit bba96a2

Please sign in to comment.