Skip to content

Commit

Permalink
Merge pull request #21 from opeco17/test-multiple-poetry-versions
Browse files Browse the repository at this point in the history
Test multiple Poetry versions in GitHub Actions
  • Loading branch information
opeco17 authored Mar 9, 2024
2 parents 7d4522d + f4e7dd8 commit d4a088c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
matrix:
os: [Ubuntu, macOS, Windows]
python-version: ["3.8", "3.9", "3.10", "3.11"]
poetry-version: ["1.2.0", "1.3.0", "1.7.0", "1.8.0"]
include:
- os: Ubuntu
image: ubuntu-latest
Expand All @@ -35,7 +36,7 @@ jobs:
run: echo "version=$(python -c "import sys; print('-'.join(str(v) for v in sys.version_info))")" >> $GITHUB_OUTPUT

- name: Bootstrap poetry
run: curl -sL https://install.python-poetry.org | python - -y
run: curl -sL https://install.python-poetry.org | python - -y --version ${{ matrix.poetry-version }}

- name: Update PATH
if: ${{ matrix.os != 'Windows' }}
Expand Down

0 comments on commit d4a088c

Please sign in to comment.