Skip to content

Commit

Permalink
Add Poetry Version Option Tests
Browse files Browse the repository at this point in the history
Adds tests for the new poetry version option.

Signed-off-by: Hassan Abouelela <hassan@hassanamr.com>
  • Loading branch information
HassanAbouelela committed Sep 8, 2022
1 parent 21ccaae commit 739e00a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test_setup_python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,3 +126,28 @@ jobs:

- name: Test Optional Dependency
run: python -c "import six"

versions:
name: Test Different Poetry Versions
runs-on: ubuntu-latest
strategy:
matrix:
version:
- "poetry==1.1.*"
- "poetry==1.2.*"
- "git+https://github.com/python-poetry/poetry.git@master"

steps:
- uses: actions/checkout@v2

- name: Setup Python
uses: ./setup-python
with:
dev: false
python_version: 3.9
poetry_version: ${{ matrix.version }}
working_dir: setup-python/tests/
use_cache: false

- name: Check Installation
run: poetry --version

0 comments on commit 739e00a

Please sign in to comment.