@@ -5,9 +5,6 @@ concurrency:
55 group : ${{ github.head_ref || github.run_id }}
66 cancel-in-progress : true
77
8- env :
9- CONDA_EXE : mamba
10-
118on :
129 push :
1310 branches :
@@ -25,13 +22,10 @@ jobs:
2522
2623 steps :
2724 - uses : actions/checkout@v4
28- - uses : actions /setup-python @v5
25+ - uses : astral-sh /setup-uv @v5
2926 with :
30- python-version-file : .python-version
31- allow-prereleases : true
32- cache : pip
33- - run : pip install tox-uv
34- - run : tox -e typing
27+ enable-cache : true
28+ - run : uv run --extra typing mypy
3529
3630 run-tests :
3731
@@ -48,18 +42,16 @@ jobs:
4842 - uses : actions/checkout@v4
4943 - uses : r-lib/actions/setup-tinytex@v2
5044 if : runner.os != 'Windows'
51- - uses : actions /setup-python @v5
45+ - uses : astral-sh /setup-uv @v5
5246 with :
47+ enable-cache : true
5348 python-version : ${{ matrix.python-version }}
54- cache : pip
55- allow-prereleases : true
56- - run : pip install tox
5749
5850 # Unit, integration, and end-to-end tests.
5951
6052 - name : Run unit tests and doctests.
6153 shell : bash -l {0}
62- run : tox -e pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
54+ run : uv run --extra test pytest -- -m "unit or (not integration and not end_to_end)" --cov=./ --cov-report=xml -n auto
6355
6456 - name : Upload coverage report for unit tests and doctests.
6557 if : runner.os == 'Linux' && matrix.python-version == '3.10'
6860
6961 - name : Run end-to-end tests.
7062 shell : bash -l {0}
71- run : tox -e pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
63+ run : uv run --extra test pytest -- -m end_to_end --cov=./ --cov-report=xml -n auto
7264
7365 - name : Upload coverage reports of end-to-end tests.
7466 if : runner.os == 'Linux' && matrix.python-version == '3.10'
0 commit comments