@@ -16,16 +16,16 @@ jobs:
16
16
flake8 :
17
17
name : flake8
18
18
if : " !contains(github.event.head_commit.message, 'Bump version')"
19
- runs-on : ubuntu-20 .04
19
+ runs-on : ubuntu-22 .04
20
20
steps :
21
21
- name : actions/checkout
22
22
uses : actions/checkout@v2
23
23
- name : actions/cache
24
24
uses : actions/cache@v2
25
25
with :
26
26
path : ${{ env.PIP_CACHE }}
27
- key : ubuntu-20 .04-pip-lint-${{ hashFiles('lint-requirements.txt') }}
28
- restore-keys : ubuntu-20 .04-pip-lint-
27
+ key : ubuntu-22 .04-pip-lint-${{ hashFiles('lint-requirements.txt') }}
28
+ restore-keys : ubuntu-22 .04-pip-lint-
29
29
- name : pip lint-requirements.txt
30
30
run : |
31
31
set -x
42
42
strategy :
43
43
fail-fast : false
44
44
matrix :
45
- os : [ ubuntu-latest, macos-latest, windows-latest ]
45
+ os : [ ubuntu-latest, windows-latest ]
46
46
cibw_python : [ "cp38-*", "cp39-*", "cp310-*" ]
47
47
cibw_arch : [ "auto64" ]
48
48
57
57
uses : actions/cache@v2
58
58
with :
59
59
path : ${{ env.PIP_CACHE }}
60
- key : ubuntu-20 .04-pip-main-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
61
- restore-keys : ubuntu-20 .04-pip-main-
60
+ key : ubuntu-22 .04-pip-main-${{ hashFiles('requirements.txt', 'test-requirements.txt') }}
61
+ restore-keys : ubuntu-22 .04-pip-main-
62
62
- name : pip requirements.txt
63
63
run : |
64
64
set -x
@@ -69,16 +69,12 @@ jobs:
69
69
- name : test
70
70
run : |
71
71
set -x
72
- if [ "${{ matrix.os }}" == "macos-latest" ]; then
73
- sysctl -a
74
- (sysctl -a | grep machdep.cpu.leaf7_features | grep AVX2) || exit 0
75
- fi
76
72
python3 -m unittest discover .
77
73
bump_version :
78
74
name : Bump the version
79
75
needs : [ flake8, test ]
80
76
if : " !contains(github.event.head_commit.message, 'Bump version') && github.ref == 'refs/heads/master'"
81
- runs-on : ubuntu-20 .04
77
+ runs-on : ubuntu-22 .04
82
78
steps :
83
79
- name : actions/checkout
84
80
uses : actions/checkout@v2
0 commit comments