Skip to content

Commit 4544aab

Browse files
committed
CI CD Work
1 parent a32206c commit 4544aab

File tree

6 files changed

+24
-17
lines changed

6 files changed

+24
-17
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,26 @@ Commands:
5454
validation Features related to the validation of CodeQL Development Repositories.
5555
```
5656

57+
# Cookbook
58+
59+
**Validate the metadata in your queries**
60+
61+
```
62+
qlt validation run check-queries --pretty-print --language cpp
63+
```
64+
65+
66+
**Run your unit tests in parallel**
67+
68+
```
69+
qlt test run execute-unit-tests --num-threads 4 --language cpp --runner-os "Linux" --work-dir /tmp/my-project
70+
```
71+
72+
**Validate unit test run data**
73+
```
74+
qlt test run validate-unit-tests --pretty-print --results-directory /tmp/my-project
75+
```
76+
5777
# Contributing
5878

5979
We welcome your contribution! Please see our [guidelines for contributing](CONTRIBUTING.md) for more information.

example/cpp/stuff/src/TestQuery/TestQuery.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/**
2-
* @id cpp/stuff/TestQuery
2+
* @id cpp/stuff/testquery
33
* @name TestQuery
44
* @description Replace this text with a description of your query.
5-
* kind problem
5+
* @kind problem
66
* @precision medium
77
* @problem.severity error
88
* @tags stuff
Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,2 @@
11
// replace with your test file
2-
ajdlskfadsj
3-
asdjfklasdja
4-
ajsdklalsdf
5-
;;;;
6-
7-
8-
;;;;;
9-
10-
11-
12-
;;;
13-
((kll))
2+
;;
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
// not implemented

example/cpp/stuff2/src/TestQuery/TestQuery.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @id cpp/stuff2/TestQuery
2+
* @id cpp/stuff2/testquery
33
* @name TestQuery
44
* @description Replace this text with a description of your query.
55
* @kind problem
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
// not implemented

0 commit comments

Comments
 (0)