File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
test/queries/xss/xss-event-handlers Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1- name : " CodeQL Test Apps "
1+ name : " Code Scanning "
22
33on :
44 push :
Original file line number Diff line number Diff line change 3737 env :
3838 CODEQL_PATH : ${{ steps.init.outputs.codeql-path }}
3939 run : |
40- $CODEQL_PATH test run --no-show-extractor-output --format=json --threads=0 --verbosity=errors ./test |
41- jq -r '.|sort_by(.pass)|.[]|"\(if .pass then "✅" else "❌" end) \(.test)<br/> "' >> results.md
40+ $CODEQL_PATH test run --strict-test-discovery -- no-show-extractor-output --format=json --threads=0 --verbosity=errors ./test |
41+ jq -r '.|sort_by(.pass)|.[]|"\(if .pass then "✅" else "❌" end) \(.test / "/test/" | .[1]) "' >> results.md
4242 cat results.md >> $GITHUB_STEP_SUMMARY
43- if grep -q "❌" results.md; then exit 1; fi
43+ if grep -n "❌" results.md; then exit 1; fi
You can’t perform that action at this time.
0 commit comments