Skip to content

Commit eeb68a8

Browse files
committed
Add make target to run tests locally
1 parent 4677a08 commit eeb68a8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,7 @@ extractor: $(FILES) $(BIN_FILES)
6565
cp ql/lib/ruby.dbscheme extractor-pack/ruby.dbscheme
6666
cp target/release/ruby-extractor$(EXE) extractor-pack/tools/$(CODEQL_PLATFORM)/extractor$(EXE)
6767
cp target/release/ruby-autobuilder$(EXE) extractor-pack/tools/$(CODEQL_PLATFORM)/autobuilder$(EXE)
68+
69+
test: extractor dbscheme
70+
codeql pack install ql/test
71+
codeql test run --check-databases --check-unused-labels --check-repeated-labels --check-redefined-labels --check-use-before-definition --search-path . --consistency-queries ql/consistency-queries ql/test

0 commit comments

Comments
 (0)