Skip to content

Commit

Permalink
update github action for caching
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmgray committed Jan 7, 2025
1 parent 4dc5f36 commit 8e86768
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
matrix:
os: [ubuntu-latest]
# kahypar doesn't have a 3.12 build yet
python-version: ['3.9', '3.11']
python-version: ['3.9', '3.12']
env: [base]
include:
- os: macos-latest
Expand All @@ -35,16 +35,18 @@ jobs:
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
version: "0.4.20"
version: "latest"

- name: Install python
run: uv python install ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Setup uv project
run: uv sync

- name: Install dependencies
run: uv pip install -r ci/requirements/${{ matrix.env }}.txt
run: uv pip install -r ci/deps/requirements-${{ matrix.env }}.txt

- name: Test with pytest
run: uv run pytest --cov=cotengra tests/ --cov-report=xml tests
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8e86768

Please sign in to comment.