File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -111,14 +111,13 @@ jobs:
111111 run : |
112112 DATABASE_URL=postgresql://postgres:postgres@localhost:5432/coprocessor \
113113 TEST_GLOBAL_LOCALSTACK=1 \
114- cargo llvm-cov --workspace --profile coverage -- --test-threads=1
114+ cargo llvm-cov --no-report -- workspace --profile coverage -- --test-threads=1
115115 working-directory : coprocessor/fhevm-engine
116116
117- - name : Coverage summary
117+ - name : Generate coverage report
118118 if : always()
119119 run : |
120- REPORT=$(DATABASE_URL=postgresql://postgres:postgres@localhost:5432/coprocessor \
121- cargo llvm-cov report --workspace --profile coverage 2>/dev/null) || true
120+ REPORT=$(cargo llvm-cov report --profile coverage 2>&1) || true
122121 {
123122 echo '## Coverage: coprocessor/fhevm-engine'
124123 if [ -n "$REPORT" ]; then
@@ -129,4 +128,5 @@ jobs:
129128 echo '*No coverage data available (tests may have failed before producing profiling data).*'
130129 fi
131130 } >> "$GITHUB_STEP_SUMMARY"
131+ echo "$REPORT"
132132 working-directory : coprocessor/fhevm-engine
You can’t perform that action at this time.
0 commit comments