Skip to content

Commit

Permalink
run ci commands using poetry run
Browse files Browse the repository at this point in the history
  • Loading branch information
ribeirojose committed Feb 20, 2024
1 parent e21122d commit b6ea1b6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,19 @@ jobs:
python-version-file: ${{ github.workspace }}/.python-version
cache: poetry
cache-dependency-path: poetry.lock

- name: Install dependencies
run: |
poetry install
- name: Typecheck
run: |
pyright .
poetry run pyright .
- name: Lint
run: |
ruff check .
poetry run ruff check .
- name: Test
run: |
python3 -m pytest tests/
poetry run pytest tests/

0 comments on commit b6ea1b6

Please sign in to comment.