Skip to content

Commit

Permalink
CI (python matrix): Update to 3.10 (python-poetry#265)
Browse files Browse the repository at this point in the history
* ci(integration): Add 3.10 release

* ci(tests): Support python 3.10 final, still keep master experimental build

* ci(tox): Add python 3.10

* chore: Use string to prevent coercing 3.10 to 3.1

* ci(integration): Remove experimental

We will add this back to 3.11 alpha or when bootstrap-args is supported
by the tox.ini for setting poetry to master/trunk.
  • Loading branch information
tony authored Feb 5, 2022
1 parent 0113a5a commit f47eb7d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ jobs:
Tests:
name: ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ubuntu-latest
continue-on-error: ${{ matrix.experimental }}
strategy:
matrix:
os: [Ubuntu, MacOS, Windows]
python-version: [3.7, 3.8, 3.9]
experimental: [false]
include:
- os: Ubuntu
python-version: "3.10.0-alpha - 3.10.0"
experimental: true
python-version: [3.7, 3.8, 3.9, "3.10"]
steps:
- uses: actions/checkout@v2

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ jobs:
strategy:
matrix:
os: [Ubuntu, MacOS, Windows]
python-version: [3.7, 3.8, 3.9]
python-version: [3.7, 3.8, 3.9, "3.10"]
experimental: [false]
bootstrap-args: [""]
include:
- os: Ubuntu
python-version: pypy3
experimental: false
- os: Ubuntu
python-version: "3.10.0-alpha - 3.10.0"
python-version: "3.10"
experimental: true
bootstrap-args: "--git https://github.com/python-poetry/poetry.git"
fail-fast: false
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
minversion = 3.3.0
isolated_build = True
envlist = py37, py38, py39, pypy3, integration
envlist = py37, py38, py39, py310, pypy3, integration

[testenv]
whitelist_externals = poetry
Expand Down

0 comments on commit f47eb7d

Please sign in to comment.