summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
authorÁrni Dagur <arni@dagur.eu>2020-09-22 05:33:19 +0000
committerÁrni Dagur <arni@dagur.eu>2020-09-22 05:37:19 +0000
commit1f73df47e5a0fd41b912ba21c5897b4c77401db1 (patch)
tree3d0028be8fdab9daa984534dfe32c0e934425dff /.github/workflows/ci.yml
parentafe851835fbe1cf62b6cbfd11e532d5ab72d3fd8 (diff)
CI: Fix the setting up of Python 3.9
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml17
1 files 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:
53 - name: Checkout 53 - name: Checkout
54 uses: actions/checkout@v1 54 uses: actions/checkout@v1
55 55
56 - name: Set up Python ${{ matrix.python-version }} 56 - uses: actions/setup-python@v2
57 uses: actions/setup-python@v1 57 if: matrix.python-version != 3.9
58 with: 58 with:
59 python-version: ${{ matrix.python-version }} 59 python-version: ${{ matrix.python-version }}
60 60
61 - uses: actions/setup-python@v2
62 if: matrix.python-version == 3.9
63 with:
64 python-version: '3.9.0-alpha - 3.9.0'
65
61 - name: Install dependencies 66 - name: Install dependencies
62 run: | 67 run: |
63 python -m pip install --upgrade pip 68 python -m pip install --upgrade pip
@@ -98,10 +103,16 @@ jobs:
98 steps: 103 steps:
99 - uses: actions/checkout@v1 104 - uses: actions/checkout@v1
100 105
101 - uses: actions/setup-python@v1 106 - uses: actions/setup-python@v2
107 if: matrix.python-version != 3.9
102 with: 108 with:
103 python-version: ${{ matrix.python-version }} 109 python-version: ${{ matrix.python-version }}
104 110
111 - uses: actions/setup-python@v2
112 if: matrix.python-version == 3.9
113 with:
114 python-version: '3.9.0-alpha - 3.9.0'
115
105 - name: Install latest nightly 116 - name: Install latest nightly
106 uses: actions-rs/toolchain@v1 117 uses: actions-rs/toolchain@v1
107 with: 118 with: