Skip to content

Commit b09ef5d

Browse files
authored
Add python helloworld to azure-pipelines-codeql.yml
To make sure codeql doesn't fail because it didn't process any python files.
1 parent 37b28c7 commit b09ef5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

eng/azure-pipelines-codeql.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,11 @@ stages:
6666
- task: CodeQL3000Init@0
6767
displayName: Initialize CodeQL (manually-injected)
6868

69+
- bash: |
70+
echo 'print("Hello world")' > hello.py
71+
python3 hello.py
72+
displayName: 'Run python helloworld'
73+
6974
- bash: |
7075
./build.sh --ci --restore --build --pack $(archflag) --configuration $(_BuildConfig) $(_InternalBuildArgs) $(ClangBinDirArg) $(ClangTargetArg) $(ExtraArgs)
7176
displayName: 'Build and package'

0 commit comments

Comments
 (0)