1
- name : ⚙️ Integration Test Bundle (CPP )
1
+ name : ⚙️ Integration Test Bundle (cpp )
2
2
3
3
on :
4
4
push :
@@ -26,20 +26,23 @@ jobs:
26
26
- name : Checkout repository
27
27
uses : actions/checkout@v4
28
28
29
+
29
30
- name : Install QLT
30
31
id : install-qlt
31
32
uses : ./.github/actions/install-qlt-local
32
33
with :
33
34
qlt-version : ' latest'
34
35
add-to-path : true
35
36
37
+
36
38
- name : Validate QLT Installation
37
39
shell : bash
38
40
run : |
39
41
echo -e "Checking QLT Version:"
40
42
echo "QLT Home: ${{ steps.install-qlt.outputs.qlt-home }}"
41
43
qlt version
42
44
45
+
43
46
- name : Create Bundle (compiled)
44
47
shell : bash
45
48
run : |
55
58
exit 1
56
59
fi
57
60
61
+
58
62
- name : Validate Bundle Existence
59
63
shell : bash
60
64
run : |
@@ -75,11 +79,15 @@ jobs:
75
79
languages : ${{ matrix.language }}
76
80
tools : ${{ env.QLT_CODEQL_BUNDLE_PATH }}
77
81
82
+
83
+
78
84
- name : Autobuild
79
85
uses : github/codeql-action/autobuild@v2
80
86
with :
81
87
working-directory : example/integration-tests/${{ matrix.language }}/src/ # Path containing the example application
82
88
89
+
90
+
83
91
- name : Perform CodeQL Analysis
84
92
id : analysis
85
93
uses : github/codeql-action/analyze@v2
@@ -104,8 +112,12 @@ jobs:
104
112
run : |
105
113
ls -l ${{ steps.analysis.outputs.sarif-output }}/*.sarif
106
114
115
+
116
+
117
+
107
118
- name : Validate SARIF Results
108
119
shell : bash
109
120
run : |
110
121
# Compare the expected vs the actual
111
- qlt bundle run validate-integration-tests --expected example/integration-tests/${{ matrix.language }}/expected.sarif --actual ${{ steps.analysis.outputs.sarif-output }}/${{ matrix.language }}.sarif
122
+ qlt bundle run validate-integration-tests --expected example/integration-tests/${{ matrix.language }}/expected.sarif --actual ${{ steps.analysis.outputs.sarif-output }}/${{ matrix.language }}.sarif
123
+
0 commit comments