Skip to content

Commit

Permalink
Fail analyze step by passing an invalid option to `database finaliz…
Browse files Browse the repository at this point in the history
…e` (#2189)

As the `ram: 1` trick won't work anymore with updates to the CLI.
  • Loading branch information
angelapwen committed Mar 11, 2024
1 parent 2fa207a commit 532ca54
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 532ca54

Please sign in to comment.