|
|
@ -15,7 +15,7 @@ runs: |
|
|
|
# This method has the limitation of 1 coverage file per run, limiting some coverage between online/offline tests. |
|
|
|
# This method has the limitation of 1 coverage file per run, limiting some coverage between online/offline tests. |
|
|
|
- run: | |
|
|
|
- run: | |
|
|
|
COVERAGE_UUID=$(python3 -c "import uuid; print(uuid.uuid4())") |
|
|
|
COVERAGE_UUID=$(python3 -c "import uuid; print(uuid.uuid4())") |
|
|
|
echo "COVERAGE_UUID=${COVERAGE_UUID}" >> $GITHUB_OUTPUT |
|
|
|
echo "COVERAGE_UUID=${COVERAGE_UUID}" >> "$GITHUB_OUTPUT" |
|
|
|
if [ -f .coverage ]; then |
|
|
|
if [ -f .coverage ]; then |
|
|
|
mv .coverage .coverage.${COVERAGE_UUID} |
|
|
|
mv .coverage .coverage.${COVERAGE_UUID} |
|
|
|
fi |
|
|
|
fi |
|
|
@ -23,7 +23,7 @@ runs: |
|
|
|
shell: bash |
|
|
|
shell: bash |
|
|
|
- uses: actions/upload-artifact@v4 |
|
|
|
- uses: actions/upload-artifact@v4 |
|
|
|
with: |
|
|
|
with: |
|
|
|
name: coverage-data |
|
|
|
name: coverage-data-${{ steps.coverage-uuid.outputs.COVERAGE_UUID }} |
|
|
|
path: | |
|
|
|
path: | |
|
|
|
.coverage.* |
|
|
|
.coverage.* |
|
|
|
*.lcov |
|
|
|
*.lcov |
|
|
|