From 07b64b53f4bd57f7ebd4732c1f64206b30ac392f Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Thu, 14 Jul 2022 20:19:54 -0300 Subject: [PATCH] [CI/CD] Using last coverage tool for ki5 and ki6 (experimental) --- .github/workflows/pythonapp.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index 3cc3d1ee..693eae98 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -47,6 +47,9 @@ jobs: run: | 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 # The KiCad 5 image currently has a very old pytest (no parallel run) pip3 install --upgrade pytest pip3 install --upgrade pytest-xdist @@ -94,6 +97,7 @@ jobs: consolidate_coverage: name: Consolidate coverage data runs-on: ubuntu-latest + container: setsoft/kicad_auto_test:ki6 needs: test steps: @@ -129,6 +133,8 @@ jobs: - name: Combine coverage run: | + pip3 install --upgrade coverage + ln -s /usr/local/bin/coverage3 /usr/local/bin/python3-coverage python3-coverage combine python3-coverage report python3-coverage html -d htmlcov