Skip to content

Commit

Permalink
Log the expected outcome of the tests for clarity
Browse files Browse the repository at this point in the history
  • Loading branch information
henrymercer committed Apr 28, 2022
1 parent 193cfa5 commit ed0abc6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/__ml-powered-queries.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions pr-checks/checks/ml-powered-queries.yml
Expand Up @@ -43,6 +43,8 @@ steps:
SHOULD_RUN_ML_POWERED_QUERIES: ${{ matrix.os != 'windows-latest' || matrix.version == 'latest' || matrix.version == 'nightly-latest' }}
shell: bash
run: |
echo "Expecting ML-powered queries to be run: ${SHOULD_RUN_ML_POWERED_QUERIES}"
cd "$RUNNER_TEMP/results"
# We should run at least the ML-powered queries in `expected_rules`.
expected_rules="js/ml-powered/nosql-injection js/ml-powered/path-injection js/ml-powered/sql-injection js/ml-powered/xss"
Expand Down

0 comments on commit ed0abc6

Please sign in to comment.