Skip to content

Commit

Permalink
Update to Poetry 2.0 (#711)
Browse files Browse the repository at this point in the history
Fix:
The "poetry.dev-dependencies" section is deprecated and will be removed in a future version. Use "poetry.group.dev.dependencies" instead.
  • Loading branch information
sbrunner authored Jan 9, 2025
1 parent 3273f5e commit df1d5ef
Show file tree
Hide file tree
Showing 3 changed files with 145 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,25 +16,24 @@ jobs:
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v3
- run: pipx install poetry
- uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- run: poetry install -E with_everything
- run: pip install poetry
- run: poetry install --all-extras --all-groups
# - run: poetry show --all
# - run: poetry show --outdated
# - run: poetry show --tree
- name: Install test profile used in the tests
run: poetry run pip install tests/prospector-profile-test/
- run: poetry run pytest --benchmark-disable --cov --cov-report= tests/
- name: Run Prospector checks
run: poetry run prospector --output=pylint
- name: Check that Prospector can run
run: |
echo "Checking prospector can run; don't care about messages found, only that it runs successfully"
poetry run prospector --quiet --zero-exit
echo "Prospector ran successfully."
- name: Run Prospector checks
run: poetry run prospector --output=pylint
- name: Check packaging
run: |
echo "Building packages"
Expand Down
Loading

0 comments on commit df1d5ef

Please sign in to comment.