Skip to content

Commit 3717d28

Browse files
committed
fix(ci): fix installation commands and extras in ci.yml
1 parent 498bffa commit 3717d28

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ jobs:
2121
run: |
2222
python -m pip install --upgrade pip
2323
pip install uv
24-
uv pip install -e .[cli] --all-extras
24+
uv pip install --system -e .
2525
- name: Lint with ruff
2626
run: |
27-
uv pip install ruff
27+
uv pip install --system ruff
2828
ruff check .
2929
- name: Format with ruff
3030
run: |
31-
ruff format .
31+
ruff format . --check
3232
3333
test:
3434
runs-on: ubuntu-latest
@@ -42,10 +42,10 @@ jobs:
4242
run: |
4343
python -m pip install --upgrade pip
4444
pip install uv
45-
uv pip install -e .[cli] --all-extras
45+
uv pip install --system -e .
4646
- name: Install pytest and pytest-cov
4747
run: |
48-
uv pip install pytest pytest-cov
48+
uv pip install --system pytest pytest-cov
4949
- name: Run tests with pytest
5050
run: |
5151
pytest --cov=devguardian --cov-report term-missing
@@ -62,10 +62,10 @@ jobs:
6262
- name: Install dependencies
6363
run: |
6464
python -m pip install --upgrade pip
65-
pip install hatchling
65+
pip install build
6666
- name: Build package
6767
run: |
68-
python -m hatchling build
68+
python -m build
6969
7070
docker:
7171
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)