File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change 37
37
python-version : 3.8
38
38
extra-requirements : ' -r requirements/testing/extra.txt'
39
39
XVFB_RUN : xvfb-run -a
40
+ - os : ubuntu-20.04
41
+ python-version : 3.9
42
+ extra-requirements : ' -r requirements/testing/extra.txt'
43
+ XVFB_RUN : xvfb-run -a
40
44
- os : macos-latest
41
45
python-version : 3.8
42
46
XVFB_RUN : " "
@@ -176,7 +180,7 @@ jobs:
176
180
echo 'PySide2 is not available'
177
181
fi
178
182
python -m pip install --upgrade \
179
- -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04 \
183
+ -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-$(lsb_release -r -s) \
180
184
wxPython &&
181
185
python -c 'import wx' &&
182
186
echo 'wxPython is available' ||
@@ -190,7 +194,11 @@ jobs:
190
194
# Set flag in a delayed manner to avoid issues with installing other
191
195
# packages
192
196
if [[ "${{ runner.os }}" != 'macOS' ]]; then
193
- export CPPFLAGS=--coverage
197
+ if [[ "$(lsb_release -r -s)" == "20.04" ]]; then
198
+ export CPPFLAGS='--coverage -fprofile-abs-path'
199
+ else
200
+ export CPPFLAGS='--coverage'
201
+ fi
194
202
fi
195
203
196
204
# All dependencies must have been pre-installed, so that the minver
You can’t perform that action at this time.
0 commit comments