Update CI workflow to use uv sync for dependency installation and streamline test execution
- Replaced `pip install` with `uv sync --group dev` for dependency management. - Adjusted test step to ensure `uv` commands are properly initialized in the PATH.
This commit is contained in:
parent
dc28b18351
commit
17f40bf2bd
1 changed files with 4 additions and 2 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -32,10 +32,12 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
uv pip install --system -e ".[dev]"
|
||||
uv sync --group dev
|
||||
|
||||
- name: Run tests
|
||||
run: pytest -s tests/ -vv
|
||||
run: |
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
uv run pytest -s tests/ -vv
|
||||
|
||||
Build:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue