Skip to content

Commit

Permalink
integration: fix coverage.xml location for TiCS workflow.
Browse files Browse the repository at this point in the history
Signed-off-by: Nashwan Azhari <[email protected]>
  • Loading branch information
Nashwan Azhari committed Dec 13, 2024
1 parent 8730d60 commit 1d2a5a6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/tiobe-tics-cron.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ jobs:
GENERATED_COVERAGE_XML="$GITHUB_WORKSPACE/charms/worker/k8s/coverage.xml"
cat "$GENERATED_COVERAGE_XML"
# TiCS expects the report to be under a "$(pwd)/.coverage" directory.
mkdir -p "$GITHUB_WORKSPACE/.coverage"
mv "$GENERATED_COVERAGE_XML" .coverage/coverage.xml
# TiCS expects the report to be under a "$(pwd)/cover" directory.
mkdir -p "$GITHUB_WORKSPACE/cover"
mv "$GENERATED_COVERAGE_XML" cover/coverage.xml
- name: Run TiCS
run: |
Expand Down

0 comments on commit 1d2a5a6

Please sign in to comment.