From 2c787b9b3a6213202c37fd38d92c6832ef01252b Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sun, 5 Sep 2021 15:02:28 +0200 Subject: [PATCH 1/2] chore(ci): run tests against Python 3.10.0-rc.2 on all platforms --- .github/workflows/main.yml | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 608fe4292df..5a8a2c3a3a7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -19,18 +19,10 @@ jobs: tests: name: ${{ matrix.os }} / ${{ matrix.python-version }} runs-on: ${{ matrix.os }}-latest - continue-on-error: ${{ matrix.experimental }} strategy: matrix: os: [Ubuntu, MacOS, Windows] - python-version: [3.6, 3.7, 3.8, 3.9] - experimental: [false] - bootstrap-args: [""] - include: - - os: Ubuntu - python-version: "3.10.0-alpha - 3.10.0" - experimental: true - bootstrap-args: "--git https://github.com/python-poetry/poetry.git" + python-version: ["3.6", "3.7", "3.8", "3.9", "3.10.0-rc.2"] fail-fast: false steps: - uses: actions/checkout@v2 @@ -47,9 +39,11 @@ jobs: - name: Bootstrap poetry shell: bash + env: + BOOTSTRAP_ARGS: ${{ startsWith(matrix.python-version, '3.10') && '--git https://github.com/python-poetry/poetry.git' || '' }} run: | curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \ - | python - -y ${{ matrix.bootstrap-args }} + | python - -y ${{ env.BOOTSTRAP_ARGS }} - name: Update PATH if: ${{ matrix.os != 'Windows' }} From 76b1113ff995728f6a1fdbb52cdba921f4ee2945 Mon Sep 17 00:00:00 2001 From: Mathieu Kniewallner Date: Sun, 5 Sep 2021 15:10:17 +0200 Subject: [PATCH 2/2] chore(ci): install poetry using branch `install-poetry.py` --- .github/workflows/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a8a2c3a3a7..f111f982293 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,9 +41,7 @@ jobs: shell: bash env: BOOTSTRAP_ARGS: ${{ startsWith(matrix.python-version, '3.10') && '--git https://github.com/python-poetry/poetry.git' || '' }} - run: | - curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \ - | python - -y ${{ env.BOOTSTRAP_ARGS }} + run: python install-poetry.py -y ${{ env.BOOTSTRAP_ARGS }} - name: Update PATH if: ${{ matrix.os != 'Windows' }}