-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,7 +52,7 @@ jobs: | |
pip install . | ||
- name: Start demo | ||
run: | | ||
git clone https://github.com/DIRACGrid/diracx-charts.git ../diracx-charts | ||
git clone https://github.com/chrisburr/diracx-charts.git ../diracx-charts -b collect-coverage | ||
../diracx-charts/run_demo.sh --enable-coverage --exit-when-done $PWD | ||
- name: Debugging information | ||
run: | | ||
|
@@ -85,11 +85,9 @@ jobs: | |
kubectl delete pod/"${pod_name}" | ||
done | ||
# Combine the coverage data from the demo and make an XML report | ||
coverage_rcfile=$(mktemp) | ||
echo -e '[paths]\nsource =\n src/\n */site-packages/\n /diracx_source/*/src/' > "${coverage_rcfile}" | ||
coverage_data=$(mktemp) | ||
coverage combine --data-file "${coverage_data}" "${DIRACX_DEMO_DIR}"/coverage-reports/* | ||
coverage xml -o coverage-demo.xml --data-file "${coverage_data}" --rcfile="${coverage_rcfile}" | ||
coverage xml -o coverage-demo.xml --data-file "${coverage_data}" | ||
- name: Upload coverage report | ||
uses: codecov/[email protected] | ||
with: | ||
|