We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8827693 commit fa8de5dCopy full SHA for fa8de5d
1 file changed
.github/workflows/dotnetCi.yml
@@ -130,6 +130,15 @@ jobs:
130
echo "failures=true" >> $GITHUB_OUTPUT
131
fi
132
cd ../..
133
+ - name: Fail the build if no JS coverage info
134
+ run: |
135
+ if ! [ -f CSF.Screenplay.JsonToHtmlReport.Template/src/TestResults/lcov.info ]
136
+ then
137
+ echo "Failing the build because there's no coverage for JS tests"
138
+ echo "Here's the contents of the test results directory, to assist in analysis"
139
+ find CSF.Screenplay.JsonToHtmlReport.Template/src/TestResults
140
+ exit 1
141
+ fi
142
143
# Post-test tasks (artifacts, overall status)
144
0 commit comments