test: system.yml update

This commit is contained in:
Luke McCrone
2026-01-29 18:37:16 -03:00
parent accb520710
commit 4e3479b8ed

View File

@@ -126,7 +126,19 @@ jobs:
BYPASS_ENV_FILE=true ${{ github.workspace }}/tests/setup_static.sh
fi
BYPASS_ENV_FILE=true $HOME/bin/bats ${{ github.workspace }}/$RUN_SET
cat $COVERAGE_LOG
if [ -e "$COVERAGE_LOG ]; then
cat $COVERAGE_LOG
fi
- name: Ensure coverage file exists
run: |
: > coverage.log
- name: Upload command coverage log
uses: actions/upload-artifact@v4
with:
name: coverage-${{ matrix.RUN_SET }}-${{ matrix.RECREATE_BUCKETS}}.log
path: coverage.log
- name: Time report
run: |
@@ -137,3 +149,22 @@ jobs:
- name: Coverage report
run: |
go tool covdata percent -i=cover
print-coverage:
runs-on: ubuntu-latest
needs: [build]
steps:
- name: Download all S3 ops artifacts
uses: actions/download-artifact@v4
with:
path: artifacts
- name: Merge (sort | uniq)
run: |
find artifacts -name coverage-*.log -print -exec cat {} \; \
| sed '/^\s*$/d' \
| sort -u \
> combined-coverage.log
echo "Merged ops:"
cat combined-coverage.log