@@ -19,17 +19,17 @@ jobs:
19
19
fail-fast : false
20
20
steps :
21
21
- name : Checkout working copy
22
- uses : actions/checkout@v3
22
+ uses : actions/checkout@v4
23
23
- name : ruff check
24
24
uses : chartboost/ruff-action@v1
25
25
- name : ruff format
26
26
uses : chartboost/ruff-action@v1
27
27
with :
28
28
args : format --diff
29
29
- name : Set up Python
30
- uses : actions/setup-python@v4
30
+ uses : actions/setup-python@v5
31
31
with :
32
- python-version : " 3.11 "
32
+ python-version : " 3.x "
33
33
- name : Install mypy
34
34
run : |
35
35
python -mpip install --upgrade pip
@@ -44,13 +44,13 @@ jobs:
44
44
45
45
steps :
46
46
- name : Checkout working copy
47
- uses : actions/checkout@v3
47
+ uses : actions/checkout@v4
48
48
with :
49
49
submodules : true
50
50
- name : Set up Python
51
- uses : actions/setup-python@v4
51
+ uses : actions/setup-python@v5
52
52
with :
53
- python-version : " 3.11 "
53
+ python-version : " 3.x "
54
54
- name : Install dependency
55
55
run : |
56
56
python -mpip install --upgrade pip
@@ -59,14 +59,14 @@ jobs:
59
59
run : |
60
60
python -mbuild
61
61
- name : Upload sdist
62
- uses : actions/upload-artifact@v3
62
+ uses : actions/upload-artifact@v4
63
63
with :
64
64
name : sdist
65
65
path : dist/*.tar.gz
66
66
retention-days : 1
67
67
68
68
- name : Upload wheel
69
- uses : actions/upload-artifact@v3
69
+ uses : actions/upload-artifact@v4
70
70
with :
71
71
name : wheel
72
72
path : dist/*.whl
@@ -94,40 +94,48 @@ jobs:
94
94
- " pypy-3.9"
95
95
- " pypy-3.10"
96
96
# - "pypy-3.11"
97
+ - " graalpy-23"
97
98
include :
98
99
- source : sdist
99
100
artifact : dist/*.tar.gz
100
101
- source : wheel
101
102
artifact : dist/*.whl
102
103
steps :
103
104
- name : Checkout working copy
104
- uses : actions/checkout@v3
105
+ uses : actions/checkout@v4
105
106
with :
106
107
submodules : true
107
108
- name : Set up Python ${{ matrix.python-version }}
108
- uses : actions/setup-python@v4
109
+ uses : actions/setup-python@v5
109
110
with :
110
111
python-version : ${{ matrix.python-version }}
111
112
allow-prereleases : true
112
113
- name : Install test dependencies
113
114
run : |
114
115
python -mpip install --upgrade pip
115
- # if binary wheels are not available for the current package install libyaml
116
- # NB: cyaml is outright broken on pypy so exclude that
116
+ # cyaml is outright broken on pypy
117
117
if ! ${{ startsWith(matrix.python-version, 'pypy-') }}; then
118
+ # if binary wheels are not available for the current
119
+ # package install libyaml-dev so we can install pyyaml
120
+ # from source
118
121
if ! pip download --only-binary pyyaml -rrequirements_dev.txt > /dev/null 2>&1; then
119
122
sudo apt install libyaml-dev
120
123
fi
121
124
fi
122
125
python -mpip install pytest pyyaml
126
+
127
+ if ! python -mpip download --only-binary google-re2; then
128
+ sudo apt install libre2-dev pybind11-dev
129
+ fi
130
+ python -mpip install google-re2 || true
123
131
- name : download ${{ matrix.source }} artifact
124
132
if : matrix.artifact
125
- uses : actions/download-artifact@v3
133
+ uses : actions/download-artifact@v4
126
134
with :
127
135
name : ${{ matrix.source }}
128
136
path : dist/
129
137
- name : install package in environment
130
138
run : |
131
139
pip install ${{ matrix.artifact || '.' }}
132
140
- name : run tests
133
- run : pytest -v -Werror -Wignore::ImportWarning --doctest-glob="*.rst"
141
+ run : pytest -v -Werror -Wignore::ImportWarning --doctest-glob="*.rst" -ra
0 commit comments