summaryrefslogtreecommitdiff
path: root/.github/workflows/ci.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/ci.yml')
-rw-r--r--.github/workflows/ci.yml23
1 files changed, 17 insertions, 6 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 4071231..141fea4 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -39,7 +39,7 @@ jobs:
39 strategy: 39 strategy:
40 fail-fast: false 40 fail-fast: false
41 matrix: 41 matrix:
42 python-version: [3.5, 3.6, 3.7, 3.8] 42 python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
43 os: [ubuntu-latest, macos-latest, windows-latest] 43 os: [ubuntu-latest, macos-latest, windows-latest]
44 exclude: 44 exclude:
45 # There is a known issue where Python C extensions 45 # There is a known issue where Python C extensions
@@ -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
@@ -86,7 +91,7 @@ jobs:
86 strategy: 91 strategy:
87 fail-fast: false 92 fail-fast: false
88 matrix: 93 matrix:
89 python-version: [3.5, 3.6, 3.7, 3.8] 94 python-version: [3.5, 3.6, 3.7, 3.8, 3.9]
90 os: [ubuntu-latest, macos-latest, windows-latest] 95 os: [ubuntu-latest, macos-latest, windows-latest]
91 exclude: 96 exclude:
92 # There is a known issue where Python C extensions 97 # There is a known issue where Python C extensions
@@ -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:
@@ -150,7 +161,7 @@ jobs:
150 161
151 docs-publish: 162 docs-publish:
152 runs-on: ubuntu-latest 163 runs-on: ubuntu-latest
153 if: github.ref == 'refs/heads/master' 164 if: github.ref == 'refs/heads/master' && github.event.action == 'push'
154 steps: 165 steps:
155 - uses: actions/checkout@v2 166 - uses: actions/checkout@v2
156 with: 167 with: