ci: Install cpp-coveralls v0.4.2 from its git repo

Install cpp-coveralls from its git repo to avoid having to use an old
version of setuptools and to get it to work again.

Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>
This commit is contained in:
Stefan Berger 2026-06-01 15:19:32 +00:00
parent 73c3e7633f
commit ed293df8c4

View File

@ -62,8 +62,11 @@ jobs:
if [ $rc -eq 0 ]; then
uidgid="$(id -nu):$(id -ng)"
sudo chown -R ${uidgid} ./
pip install setuptools==59.6.0 # Default Jammy version
pip install cpp-coveralls
git clone https://github.com/eddyxu/cpp-coveralls
pushd cpp-coveralls
git checkout tags/v0.4.2
pip install -e .
popd
cpp-coveralls -b src -e tests -e swtpm --gcov-options '\-lp'
else
for f in swtpm/tests/*.log; do echo ">>>>>>> $f <<<<<<<"; tail -n 50 $f; done