Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
aviaviavi committed Dec 29, 2024
1 parent cf54612 commit c518070
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,10 @@ jobs:
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Create virtual environment
- name: Install dependencies and run checks
run: |
uv venv
source .venv/bin/activate
- name: Install dependencies
run: |
uv pip install -e ".[dev]"
- name: Lint with ruff
run: |
source .venv/bin/activate
. .venv/bin/activate
uv pip install -r requirements-dev.txt
ruff check .
- name: Test with pytest
run: |
source .venv/bin/activate
pytest
4 changes: 4 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
-r requirements.txt
pytest>=7.0.0
pytest-cov>=4.0.0
ruff>=0.1.0

0 comments on commit c518070

Please sign in to comment.