cygwin CI: work around gcovr bug

Due to https://github.com/gcovr/gcovr/pull/576 it is not possible to
`pip install gcovr` and have it work.

It is possible, but not ideal, to install the cygwin gcovr package,
which is unmaintained and built for python36 while only depending on
python39.

This is of course not a problem on the other CI jobs, where we either
install it from a distro repository that ensures it is stable and
backports patches, or simply tests that the resulting image passes tests
before baking it as a CI images update.

gcovr upstream isn't sure when they are going to release a new version
that fixes this bug. There is a new feature release scheduled "soon".
pull/10182/head
Eli Schwartz 3 years ago
parent b0d300e788
commit 0022e1863d
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6
  1. 6
      .github/workflows/cygwin.yml

@ -71,6 +71,12 @@ jobs:
vala
zlib-devel
- name: work around gcovr bug https://github.com/gcovr/gcovr/pull/576
run: |
export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32
python3 -m pip --disable-pip-version-check install 'jinja2<3.1.0'
shell: C:\cygwin\bin\bash.exe --noprofile --norc -o igncr -eo pipefail '{0}'
- name: Run pip
run: |
export PATH=/usr/bin:/usr/local/bin:$(cygpath ${SYSTEMROOT})/system32

Loading…
Cancel
Save