@@ -22,13 +22,11 @@ jobs:
2222
2323 steps :
2424 - uses : actions/checkout@v4
25- - uses : actions /setup-python @v5
25+ - uses : astral-sh /setup-uv @v5
2626 with :
27- python-version-file : .python-version
28- allow-prereleases : true
29- cache : pip
30- - run : pip install tox-uv
31- - run : tox -e typing
27+ enable-cache : true
28+ - run : uv run --extra typing mypy
29+ - run : nbqa mypy --ignore-missing-imports .
3230
3331 run-tests :
3432
@@ -43,12 +41,10 @@ jobs:
4341
4442 steps :
4543 - uses : actions/checkout@v4
46- - uses : actions /setup-python @v5
44+ - uses : astral-sh /setup-uv @v5
4745 with :
4846 python-version : ${{ matrix.python-version }}
49- cache : pip
50- allow-prereleases : true
51- - run : pip install tox-uv
47+ enable-cache : true
5248
5349 - if : matrix.os == 'ubuntu-latest'
5450 run : |
5955
6056 - name : Run unit tests and doctests.
6157 shell : bash -l {0}
62- run : tox -e test -- -m "unit or (not integration and not end_to_end)" --cov=src --cov=tests --cov-report=xml -n auto
58+ run : uv run --extra test pytest --nbmake -m "unit or (not integration and not end_to_end)" --cov=src --cov=tests --cov-report=xml -n auto
6359
6460 - name : Upload unit test coverage reports to Codecov with GitHub Action
6561 uses : codecov/codecov-action@v5
6864
6965 - name : Run integration tests.
7066 shell : bash -l {0}
71- run : tox -e test -- -m integration --cov=src --cov=tests --cov-report=xml -n auto
67+ run : uv run --extra test pytest --nbmake -m integration --cov=src --cov=tests --cov-report=xml -n auto
7268
7369 - name : Upload integration test coverage reports to Codecov with GitHub Action
7470 uses : codecov/codecov-action@v5
7773
7874 - name : Run end-to-end tests.
7975 shell : bash -l {0}
80- run : tox -e test -- -m end_to_end --cov=src --cov=tests --cov-report=xml -n auto
76+ run : uv run --extra test pytest --nbmake -m end_to_end --cov=src --cov=tests --cov-report=xml -n auto
8177
8278 - name : Upload end_to_end test coverage reports to Codecov with GitHub Action
8379 uses : codecov/codecov-action@v5
0 commit comments