11# This file is managed by 'repo_helper'. Don't edit it directly.
22---
3- name : Linux Tests
3+ name : Linux
44
55on :
66 push :
1010jobs :
1111 tests :
1212 name : " Python ${{ matrix.config.python-version }}"
13- runs-on : " ubuntu-18.04"
13+ runs-on : " ubuntu-20.04"
14+ continue-on-error : ${{ matrix.config.experimental }}
1415 env :
15- USING_COVERAGE : ' 3.6,3.7,3.8,pypy3,3.9'
16+ USING_COVERAGE : ' 3.6,3.7,3.8,pypy3,3.9,3.10.0-alpha.3 '
1617
1718 strategy :
1819 fail-fast : False
1920 matrix :
2021 config :
21- - {python-version: "3.6", testenvs: "py36,build"}
22- - {python-version: "3.7", testenvs: "py37,build"}
23- - {python-version: "3.8", testenvs: "py38,build"}
24- - {python-version: "pypy3", testenvs: "pypy3,build"}
25- - {python-version: "3.9", testenvs: "py39,build"}
22+ - {python-version: "3.6", testenvs: "py36,build", experimental: False}
23+ - {python-version: "3.7", testenvs: "py37,build", experimental: False}
24+ - {python-version: "3.8", testenvs: "py38,build", experimental: False}
25+ - {python-version: "pypy3", testenvs: "pypy3,build", experimental: False}
26+ - {python-version: "3.9", testenvs: "py39,build", experimental: False}
27+ - {python-version: "3.10.0-alpha.3", testenvs: "py310-dev,build", experimental: True}
2628
2729 steps :
2830 - name : Checkout 🛎️
5456
5557 Coverage :
5658 needs : tests
57- runs-on : " ubuntu-18 .04"
59+ runs-on : " ubuntu-20 .04"
5860 steps :
5961 - name : Checkout 🛎️
6062 uses : " actions/checkout@v2"
98100 Deploy :
99101 needs : tests
100102
101- runs-on : " ubuntu-18 .04"
103+ runs-on : " ubuntu-20 .04"
102104 steps :
103105 - name : Checkout 🛎️
104106 uses : " actions/checkout@v2"
@@ -130,7 +132,8 @@ jobs:
130132
131133 Conda :
132134 needs : deploy
133- runs-on : " ubuntu-18.04"
135+ runs-on : " ubuntu-20.04"
136+ if : startsWith(github.ref, 'refs/tags/') || ${{ startsWith(github.event.head_commit.message, 'Bump version') != true }}
134137 steps :
135138 - name : Checkout 🛎️
136139 uses : " actions/checkout@v2"
@@ -154,7 +157,6 @@ jobs:
154157 bash .github/actions_build_conda.sh
155158
156159 - name : Deploy Conda 🚀
157- if : startsWith(github.ref, 'refs/tags/')
158160 run : |
159161 chmod +x .github/actions_deploy_conda.sh
160162 bash .github/actions_deploy_conda.sh
0 commit comments