Skip to content

Commit 7fc2d51

Browse files
committed
Fail analyze step by passing invalid options to database finalize
As the `ram: 1` trick won't work anymore with updates to the CLI.
1 parent baf3361 commit 7fc2d51

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/debug-artifacts-failure.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ jobs:
5050
run: ./build.sh
5151
- uses: ./../action/analyze
5252
id: analysis
53+
env:
54+
# Forces a failure in this step.
55+
CODEQL_ACTION_EXTRA_OPTIONS: "{ \"database\": { \"finalize\": [\"--invalid-option\"] } }"
5356
with:
5457
expect-error: true
55-
ram: 1
5658
download-and-check-artifacts:
5759
name: Download and check debug artifacts after failure in analyze
5860
needs: upload-artifacts

0 commit comments

Comments
 (0)