File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -57,15 +57,22 @@ jobs:
5757 python-version : ${{ env.MAIN_PYTHON_VERSION }}
5858 cache : ' pip'
5959
60- - name : Install dependencies
60+ - name : Install uv and create venv
6161 run : |
6262 python -m pip install --upgrade pip
6363 pip install uv
64+ uv venv
65+ source .venv/bin/activate
66+
67+ - name : Install project dependencies
68+ run : |
69+ source .venv/bin/activate
6470 uv pip install -e .[tests]
6571 uv pip install tests/launcher/pkg_with_entrypoint
6672
6773 - name : Run tests
6874 run : |
75+ source .venv/bin/activate
6976 uv pytest
7077
7178 # - uses: codecov/codecov-action@v5
Original file line number Diff line number Diff line change @@ -35,14 +35,14 @@ jobs:
3535 python-version : ${{ env.MAIN_PYTHON_VERSION }}
3636 - name : Install library, with test extra
3737 run : |
38- pip install uv
39- uv python -m pip install .[tests]
40- uv python -m pip install tests/launcher/pkg_with_entrypoint
38+ python -m pip install uv
39+ uv pip install .[tests]
40+ python -m uv pip install tests/launcher/pkg_with_entrypoint
4141
4242
4343 - name : Unit testing
4444 run : |
45- uv python -m pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
45+ python -m uv pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
4646
4747 - name : Upload coverage reports to Codecov
4848 uses : codecov/codecov-action@v5
You can’t perform that action at this time.
0 commit comments