Skip to content

Commit

Permalink
Fail analyze step by passing invalid options to database finalize
Browse files Browse the repository at this point in the history
As the `ram: 1` trick won't work anymore with updates to the CLI.
  • Loading branch information
angelapwen committed Mar 8, 2024
1 parent baf3361 commit 7fc2d51
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/debug-artifacts-failure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,11 @@ jobs:
run: ./build.sh
- uses: ./../action/analyze
id: analysis
env:
# Forces a failure in this step.
CODEQL_ACTION_EXTRA_OPTIONS: "{ \"database\": { \"finalize\": [\"--invalid-option\"] } }"
with:
expect-error: true
ram: 1
download-and-check-artifacts:
name: Download and check debug artifacts after failure in analyze
needs: upload-artifacts
Expand Down

0 comments on commit 7fc2d51

Please sign in to comment.