Skip to content

Commit 23da6f6

Browse files
authored
Merge pull request #5 from trailofbits/mschwager-ci-tests
Add CI job for running query tests
2 parents 6763c4f + 5b85a44 commit 23da6f6

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/test.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: CodeQL queries test
2+
on:
3+
pull_request:
4+
push:
5+
branches:
6+
- main
7+
jobs:
8+
test:
9+
name: Run CodeQL query tests
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v4
13+
- id: init
14+
uses: github/codeql-action/init@v3
15+
- name: Run tests
16+
run: |
17+
${{ steps.init.outputs.codeql-path }} test run ./cpp/test/
18+
${{ steps.init.outputs.codeql-path }} test run ./go/test/

0 commit comments

Comments
 (0)