Skip to content

Commit

Permalink
Build with a specific Poetry version
Browse files Browse the repository at this point in the history
  • Loading branch information
pronovic committed Sep 2, 2022
1 parent 2946751 commit eb2e941
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python: ["3.7", "3.8", "3.9", "3.10" ]
# temporarily just run a single os/python pair
os: [ubuntu-latest]
python: ["3.10" ]
#os: [ubuntu-latest, macos-latest, windows-latest]
#python: ["3.7", "3.8", "3.9", "3.10" ]
env:
# Run builds using a specific version of Poetry, to avoid surprises
POETRY_VERSION: "1.2.0"
# Ensure that Poetry never tries to unlock a keyring, which will either fail or hang
# See: https://github.com/python-poetry/poetry/issues/2692#issuecomment-1235683370
PYTHON_KEYRING_BACKEND: "keyring.backends.null.Keyring"
steps:
Expand All @@ -28,6 +34,7 @@ jobs:
- name: Install Poetry
uses: snok/install-poetry@v1.2.1 # see https://github.com/snok/install-poetry
with:
version: ${{ env.POETRY_VERSION }}
virtualenvs-create: true
virtualenvs-in-project: true
- name: Install Poetry plugins
Expand Down

0 comments on commit eb2e941

Please sign in to comment.