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 20, 2024
1 parent ad80cf5 commit 7f8333a
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 7f8333a

Please sign in to comment.