File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -25,22 +25,24 @@ jobs:
2525 with :
2626 python-version : ${{ matrix.python-version }}
2727
28+ - name : Install uv
29+ uses : astral-sh/setup-uv@b5f58b2abc5763ade55e4e9d0fe52cd1ff7979ca # v5.2.1
30+
2831 - name : Install dependencies
2932 run : |
30- python -m pip install --upgrade pip
31- pip install -e ".[devel]"
33+ uv sync --extra everything --dev
3234
3335 - name : Lint with flake8
3436 run : |
35- flake8 --count --show-source --statistics src/ tests/
37+ uv run flake8 --count --show-source --statistics src/ tests/
3638
3739 - name : Static code analysis with pylint
3840 run : |
39- pylint src/ tests/
41+ uv run pylint src/ tests/
4042
4143 - name : Test with pytest
4244 run : |
43- pytest --cov=powerapi --cov-report=term --cov-report=xml tests/unit
45+ uv run pytest --cov=powerapi --cov-report=term --cov-report=xml tests/unit
4446
4547 - name : Upload coverage reports to Codecov
4648 if : ${{ matrix.python-version }} == "3.10"
You can’t perform that action at this time.
0 commit comments