From 1f73df47e5a0fd41b912ba21c5897b4c77401db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81rni=20Dagur?= Date: Tue, 22 Sep 2020 05:33:19 +0000 Subject: CI: Fix the setting up of Python 3.9 --- .github/workflows/ci.yml | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c0bf52..141fea4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -53,11 +53,16 @@ jobs: - name: Checkout uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + - uses: actions/setup-python@v2 + if: matrix.python-version != 3.9 with: python-version: ${{ matrix.python-version }} + - uses: actions/setup-python@v2 + if: matrix.python-version == 3.9 + with: + python-version: '3.9.0-alpha - 3.9.0' + - name: Install dependencies run: | python -m pip install --upgrade pip @@ -98,10 +103,16 @@ jobs: steps: - uses: actions/checkout@v1 - - uses: actions/setup-python@v1 + - uses: actions/setup-python@v2 + if: matrix.python-version != 3.9 with: python-version: ${{ matrix.python-version }} + - uses: actions/setup-python@v2 + if: matrix.python-version == 3.9 + with: + python-version: '3.9.0-alpha - 3.9.0' + - name: Install latest nightly uses: actions-rs/toolchain@v1 with: -- cgit v1.2.3