Skip to content

Commit eacf663

Browse files
fix: use system flag
1 parent a1da13e commit eacf663

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/run_mapdl_tests.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,14 @@ jobs:
4040
python3 -m pip install --upgrade pip
4141
pip3 install uv
4242
43-
uv venv .mapdl_venv # Create venv first
4443
45-
uv pip install -e .[tests] # Now install your packages
46-
uv pip install tests/launcher/pkg_with_entrypoint
44+
uv pip install --system .[tests]
45+
uv pip install --system tests/launcher/pkg_with_entrypoint
4746
4847
- name: Run unit tests
4948
shell: bash
5049
run: |
51-
uv run pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
50+
uv run --system pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
5251
5352
- name: Upload coverage reports to Codecov
5453
uses: codecov/codecov-action@v5

0 commit comments

Comments
 (0)