Add an integration test for packaging
Uses two pre-existing packages to run some simple queries on a javascript database.
This commit is contained in:
parent
1cc5f1d5dd
commit
d42f654f7a
8 changed files with 78 additions and 9 deletions
10
tests/multi-language-repo/.github/codeql/codeql-config-packaging.yml
vendored
Normal file
10
tests/multi-language-repo/.github/codeql/codeql-config-packaging.yml
vendored
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
name: Pack testing in the CodeQL Action
|
||||
|
||||
disable-default-queries: true
|
||||
packs:
|
||||
javascript:
|
||||
- dsp-testing/codeql-pack1@0.0.3
|
||||
- dsp-testing/codeql-pack2 # latest
|
||||
paths-ignore:
|
||||
- tests
|
||||
- lib
|
||||
|
|
@ -1,3 +1,12 @@
|
|||
if (true) {
|
||||
console.log("Hello, World!");
|
||||
console.log("Good-bye, World!");
|
||||
}
|
||||
|
||||
if (true) {
|
||||
console.log("Hello, World!");
|
||||
}
|
||||
|
||||
if (true) {
|
||||
// empty
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue