Skip to content

Commit

Permalink
fix: use only poetry in ci
Browse files Browse the repository at this point in the history
  • Loading branch information
YounesOMK committed Dec 21, 2023
1 parent 9c40a93 commit f68cba0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install ruff mypy
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
pip install poetry
poetry install
- name: Format with ruff
run: |
ruff format .
Expand All @@ -33,11 +34,8 @@ jobs:
run: |
ruff check .
- name: Install missing type stubs for mypy
run: mypy --install-types --non-interactive

- name: Type check with mypy
run: mypy .
run: poetry mypy .

- name: Test with unittest
run: |
Expand Down

0 comments on commit f68cba0

Please sign in to comment.