Skip to content

Commit

Permalink
Switch to pdm
Browse files Browse the repository at this point in the history
  • Loading branch information
sffjunkie committed Mar 14, 2024
1 parent 52e7fd4 commit f66ba4c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/astral-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,16 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
- name: Install dependencies using poetry
python -m pip install pdm
- name: Install dependencies using pdm
run: |
poetry install
pdm install
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
poetry run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=.venv
pdm run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --exclude=.venv
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=.venv
pdm run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --exclude=.venv
- name: Test with pytest
run: |
poetry run pytest
pdm run pytest

0 comments on commit f66ba4c

Please sign in to comment.