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 3737 python-version : 3.8
3838 extra-requirements : ' -r requirements/testing/extra.txt'
3939 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
4044 - os : macos-latest
4145 python-version : 3.8
4246 XVFB_RUN : " "
@@ -176,7 +180,7 @@ jobs:
176180 echo 'PySide2 is not available'
177181 fi
178182 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) \
180184 wxPython &&
181185 python -c 'import wx' &&
182186 echo 'wxPython is available' ||
@@ -190,7 +194,11 @@ jobs:
190194 # Set flag in a delayed manner to avoid issues with installing other
191195 # packages
192196 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
194202 fi
195203
196204 # All dependencies must have been pre-installed, so that the minver
You can’t perform that action at this time.
0 commit comments