Skip to content

Commit 41bdf3a

Browse files
fix: Add uv to ci
1 parent 1958983 commit 41bdf3a

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/cicd.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ jobs:
6060
- name: Install dependencies
6161
run: |
6262
python -m pip install --upgrade pip
63+
pip install uv
6364
uv pip install -e .[tests]
6465
uv pip install tests/launcher/pkg_with_entrypoint
6566

.github/workflows/run_mapdl_tests.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,14 @@ jobs:
3535
python-version: ${{ env.MAIN_PYTHON_VERSION }}
3636
- name: Install library, with test extra
3737
run: |
38-
python -m pip install .[tests]
39-
python -m pip install tests/launcher/pkg_with_entrypoint
38+
pip install uv
39+
uv python -m pip install .[tests]
40+
uv python -m pip install tests/launcher/pkg_with_entrypoint
4041
4142
4243
- name: Unit testing
4344
run: |
44-
python -m pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
45+
uv python -m pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
4546
4647
- name: Upload coverage reports to Codecov
4748
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)