aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-24 13:37:55 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-12-24 13:37:55 +0100
commit165e17d4ad289dabdcb6a09ce27c02c6122b7f8a (patch)
treeb6fc909ce437b16869403cef9b333564fd7fce30
parent179564eb4c2d5ee59ef129edab39ca1a7cbc4258 (diff)
downloadlibquotient-165e17d4ad289dabdcb6a09ce27c02c6122b7f8a.tar.gz
libquotient-165e17d4ad289dabdcb6a09ce27c02c6122b7f8a.zip
CI: Fix rm being run in the wrong directory
It's been alright with the comment inside the script.
-rw-r--r--.github/workflows/ci.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 5cac5874..a1b6f0c0 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -215,14 +215,14 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
- # Coverage of the test source code is not tracked, as it is obviously 100%
- # (if it's not, some tests failed and break the build at an earlier stage)
run: |
mkdir .coverage && pushd .coverage
find $BUILD_PATH -name '*.gcda' -print0 \
| xargs -0 $COV -s $GITHUB_WORKSPACE -pr
- popd
+ # Coverage of the test source code is not tracked, as it is always 100%
+ # (if not, some tests failed and broke the build at an earlier stage)
rm -f quotest* autotests*
+ popd
$HOME/.sonar/sonar-scanner*/bin/sonar-scanner \
-Dsonar.host.url="$SONAR_SERVER_URL" \
-Dsonar.cfamily.build-wrapper-output="$BUILD_PATH/sonar" \