diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 608fe4292df..f111f982293 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,9 @@ jobs: - name: Bootstrap poetry shell: bash - run: | - curl -sL https://raw.githubusercontent.com/python-poetry/poetry/master/install-poetry.py \ - | python - -y ${{ matrix.bootstrap-args }} + env: + BOOTSTRAP_ARGS: ${{ startsWith(matrix.python-version, '3.10') && '--git https://github.com/python-poetry/poetry.git' || '' }} + run: python install-poetry.py -y ${{ env.BOOTSTRAP_ARGS }} - name: Update PATH if: ${{ matrix.os != 'Windows' }}