Skip to content

Commit 503fb82

Browse files
Now using a dev dependency group in CI.
1 parent d89553b commit 503fb82

File tree

3 files changed

+4
-12
lines changed

3 files changed

+4
-12
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ jobs:
1010
runs-on: ubuntu-latest
1111
steps:
1212
- name: Release
13-
uses: patrick-kidger/action_update_python_project@v6
13+
uses: patrick-kidger/action_update_python_project@v7
1414
with:
1515
python-version: "3.11"
1616
test-script: |
1717
cp -r ${{ github.workspace }}/tests ./tests
1818
cp ${{ github.workspace }}/pyproject.toml ./pyproject.toml
19-
python -m pip install -r ./tests/requirements.txt
20-
pytest
19+
uv sync --extra dev --no-install-project --inexact
20+
uv run --no-sync pytest
2121
pypi-token: ${{ secrets.pypi_token }}
2222
github-user: patrick-kidger
2323
github-token: ${{ github.token }}

.github/workflows/run_tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
- name: Install dependencies
3838
run: |
3939
python -m pip install --upgrade pip
40-
python -m pip install -r ./tests/requirements.txt
40+
python -m pip install '.[dev]' 'jax[cpu]'
4141
4242
- name: Checks with pre-commit
4343
uses: pre-commit/[email protected]

tests/requirements.txt

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)