File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1616 test-script : |
1717 cp -r ${{ github.workspace }}/test ./test
1818 cp ${{ github.workspace }}/pyproject.toml ./pyproject.toml
19- python -m pip install -r ./test/requirements.txt
19+ python -m pip install '.[tests]'
2020 python -m test
2121 pypi-token : ${{ secrets.pypi_token }}
2222 github-user : patrick-kidger
Original file line number Diff line number Diff line change 2323 - name : Install dependencies
2424 run : |
2525 python -m pip install --upgrade pip
26- python -m pip install -r ./test/requirements.txt
27-
26+ python -m pip install '.[tests]'
2827
2928 - name : Checks with pre-commit
3029 uses : pre-commit/action@v3.0.1
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ Now make your changes. Make sure to include additional tests if necessary.
3434Next verify the tests all pass:
3535
3636``` bash
37- pip install -r test/requirements.txt
37+ pip install -e ' .[tests] '
3838pytest
3939```
4040
Original file line number Diff line number Diff line change @@ -40,6 +40,14 @@ docs = [
4040 " mkdocstrings-python==1.16.8" ,
4141 " pymdown-extensions==10.14.3"
4242]
43+ tests = [
44+ " beartype>=0.22.5" ,
45+ " jaxlib>=0.6.2" ,
46+ " optax>=0.2.6" ,
47+ " pytest>=9.0.1" ,
48+ " scipy>=1.15.3" ,
49+ " tqdm>=4.67.1" ,
50+ ]
4351
4452[tool .hatch .build ]
4553include = [" diffrax/*" ]
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments