Skip to content

Commit bb909b9

Browse files
committed
Add environment variable override test
1 parent 03d2473 commit bb909b9

File tree

2 files changed

+80
-0
lines changed

2 files changed

+80
-0
lines changed

.github/workflows/__kotlin-disable.yml

Lines changed: 67 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pr-checks/checks/kotlin-disable.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: "Kotlin extraction is disabled with `CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN`"
2+
description: "Tests Kotlin extraction failure when `CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN` is set"
3+
versions: ["latest", "cached", "nightly-latest"]
4+
env:
5+
CODEQL_EXTRACTOR_JAVA_AGENT_DISABLE_KOTLIN: "true"
6+
steps:
7+
- uses: ./../action/init
8+
with:
9+
expect-error: true
10+
languages: kotlin
11+
tools: ${{ steps.prepare-test.outputs.tools-url }}
12+
env:
13+
TEST_MODE: true

0 commit comments

Comments
 (0)