From de1f2aac8ba19331ea7592e8dc23390b7ed87a23 Mon Sep 17 00:00:00 2001 From: LorenzE Date: Wed, 3 Nov 2021 22:38:36 +0100 Subject: [PATCH 1/4] MAINT: Change coverage uploader install source --- .github/workflows/pullrequest.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index 65f255f4340..fc96b29eab3 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -277,7 +277,9 @@ jobs: - name: Install Codecov if: matrix.os == 'ubuntu-18.04' run: | - sudo pip install codecov + curl -Os https://uploader.codecov.io/latest/macos/codecov + chmod +x codecov + echo "${pwd}" >> $GITHUB_PATH - name: Install Qt (Linux|MacOS) if: (matrix.os == 'ubuntu-18.04') || (matrix.os == 'macos-latest') uses: jurplel/install-qt-action@v2 From f506cd8734c4e9772a9af6adc02cdb383d7afbd3 Mon Sep 17 00:00:00 2001 From: Lorenz Esch Date: Thu, 4 Nov 2021 16:05:22 +0100 Subject: [PATCH 2/4] Allow cmd outputs for codecov --- tools/testing/test_all.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/test_all.bat b/tools/testing/test_all.bat index 96f9c28a23a..76611158118 100755 --- a/tools/testing/test_all.bat +++ b/tools/testing/test_all.bat @@ -185,7 +185,7 @@ do if [ $RunCodeCoverage == "true" ]; then find ./libraries -type f -name "*.cpp" -exec gcov {} \; &> /dev/null # Hide codecov output since it corrupts the log too much - codecov &> /dev/null + codecov fi done From ebb0e4886a604356d2457befafd654baee634efc Mon Sep 17 00:00:00 2001 From: Lorenz Esch Date: Thu, 4 Nov 2021 16:42:25 +0100 Subject: [PATCH 3/4] Update test_all.bat --- tools/testing/test_all.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/test_all.bat b/tools/testing/test_all.bat index 76611158118..76487fa72cf 100755 --- a/tools/testing/test_all.bat +++ b/tools/testing/test_all.bat @@ -185,7 +185,7 @@ do if [ $RunCodeCoverage == "true" ]; then find ./libraries -type f -name "*.cpp" -exec gcov {} \; &> /dev/null # Hide codecov output since it corrupts the log too much - codecov + ./codecov fi done From 1df5d35931bfa566ba402b4ec44e27ebce497045 Mon Sep 17 00:00:00 2001 From: Lorenz Esch Date: Thu, 4 Nov 2021 16:51:03 +0100 Subject: [PATCH 4/4] Update pullrequest.yml --- .github/workflows/pullrequest.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pullrequest.yml b/.github/workflows/pullrequest.yml index fc96b29eab3..d0b358dda3b 100644 --- a/.github/workflows/pullrequest.yml +++ b/.github/workflows/pullrequest.yml @@ -277,7 +277,7 @@ jobs: - name: Install Codecov if: matrix.os == 'ubuntu-18.04' run: | - curl -Os https://uploader.codecov.io/latest/macos/codecov + curl -Os https://uploader.codecov.io/latest/linux/codecov chmod +x codecov echo "${pwd}" >> $GITHUB_PATH - name: Install Qt (Linux|MacOS)