File tree Expand file tree Collapse file tree 1 file changed +22
-26
lines changed Expand file tree Collapse file tree 1 file changed +22
-26
lines changed Original file line number Diff line number Diff line change @@ -27,29 +27,25 @@ jobs:
2727 ON_UBUNTU : true
2828
2929 steps :
30- - uses : actions/checkout@v4
31-
32- - name : Check python version inside container
33- run : |
34- python3 --version
35- which python3
36-
37- - name : Install uv and create venv
38- shell : bash
39- run : |
40- python3 -m pip install --upgrade pip
41- pip3 install uv
42-
43-
44- uv pip install --system .[tests]
45- uv pip install --system tests/launcher/pkg_with_entrypoint
46-
47- - name : Run unit tests
48- shell : bash
49- run : |
50- uv run --system pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
51-
52- - name : Upload coverage reports to Codecov
53- uses : codecov/codecov-action@v5
54- with :
55- files : .cov/coverage.xml
30+ - name : Install uv and create venv
31+ run : |
32+ python -m pip install --upgrade pip
33+ pip install uv
34+ uv venv
35+ source .venv/bin/activate
36+
37+ - name : Install project dependencies
38+ run : |
39+ source .venv/bin/activate
40+ uv pip install -e .[tests]
41+ uv pip install tests/launcher/pkg_with_entrypoint
42+
43+ - name : Run tests
44+ run : |
45+ source .venv/bin/activate
46+ uv run pytest -vx --cov=${{ env.PACKAGE_NAMESPACE }} --cov-report=term --cov-report=xml:.cov/coverage.xml --cov-report=html:.cov/html
47+
48+ # - uses: codecov/codecov-action@v5
49+ # name: 'Upload coverage to CodeCov'
50+ # with:
51+ # token: ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments