File tree Expand file tree Collapse file tree 2 files changed +10
-19
lines changed
Expand file tree Collapse file tree 2 files changed +10
-19
lines changed Original file line number Diff line number Diff line change 2525 uses : actions/setup-python@v5
2626 with :
2727 python-version : ${{ matrix.python-version }}
28-
28+
2929 - name : Set up Fortran
3030 uses : fortran-lang/setup-fortran@v1
3131 with :
@@ -38,24 +38,24 @@ jobs:
3838 sudo apt-get install -y libopenblas-dev
3939 gfortran --version
4040 gcc --version
41-
42- - name : Install PyPI-build dependencies
41+
42+ - name : Install uv
4343 run : |
44- python -m pip install --upgrade pip
45- pip install -r requirements-build.txt
46-
44+ pip install uv
45+ uv --version
46+
4747 - name : Build package
4848 run : |
49- pip install -ve . --no-build-isolation
49+ uv pip install -ve . --no-build-isolation
5050
5151 - name : Run tests and collect coverage
5252 run : |
53- pytest --cov -v -s --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
54- coverage report
53+ uv run pytest --cov -v -s --cov-report=xml --junitxml=junit.xml -o junit_family=legacy
54+ uv run coverage report
5555
5656 - name : Run example
5757 run : |
58- python ./tests/example5.py
58+ uv run ./tests/example5.py
5959
6060 - name : Upload coverage to Codecov
6161 if : ${{ matrix.python-version == '3.10' }}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments