From 9a21ec7d19618a6ccc791449328aaf4c02ef691c Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 14 Jul 2022 20:40:37 -0300 Subject: [PATCH] [CI/CD] Changing to a common coverage 5.1 (experimental) - lastest can fail --- .github/workflows/pythonapp.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 693eae98..b2243eb8 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -48,8 +48,8 @@ jobs: rm -rf output rm -f tests/.local # Unify coverage versions to allow combine - pip3 install --upgrade coverage - ln -s /usr/local/bin/coverage3 /usr/local/bin/python3-coverage + pip3 install --upgrade coverage==5.1 + ln -s /usr/local/bin/coverage3 /usr/local/bin/python3-coverage || true # The KiCad 5 image currently has a very old pytest (no parallel run) pip3 install --upgrade pytest pip3 install --upgrade pytest-xdist @@ -133,8 +133,8 @@ jobs: - name: Combine coverage run: | - pip3 install --upgrade coverage - ln -s /usr/local/bin/coverage3 /usr/local/bin/python3-coverage + pip3 install --upgrade coverage==5.1 + ln -s /usr/local/bin/coverage3 /usr/local/bin/python3-coverage || true python3-coverage combine python3-coverage report python3-coverage html -d htmlcov