Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to Poetry 2.0 #711

Merged
merged 1 commit into from
Jan 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading