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 fdac77d
Showing 1 changed file with 2 additions and 0 deletions.
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 fdac77d

Please sign in to comment.