Skip to content

Commit 5de4d3c

Browse files
committed
move to new test format
1 parent 7356c04 commit 5de4d3c

File tree

3 files changed

+2136
-0
lines changed

3 files changed

+2136
-0
lines changed

.github/workflows/it-test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,8 @@ jobs:
5151
# Run Pylint tests with simple sorting
5252
run_test "pylint" "."
5353
54+
# Run Enigma tests with simple sorting
55+
run_test "codacy-enigma-cli" "."
56+
5457
# Run Semgrep tests with rules sorting
5558
run_test "semgrep" ".runs[0].tool.driver.rules |= if . then sort_by(.id) else . end"
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"version": "2.1.0",
3+
"$schema": "https://raw.githubusercontent.com/oasis-tcs/sarif-spec/master/Schemata/sarif-schema-2.1.0.json",
4+
"runs": [
5+
{
6+
"tool": {
7+
"driver": {
8+
"name": "codacy-enigma-cli"
9+
}
10+
},
11+
"results": [
12+
{
13+
"ruleId": "hardcoded_password",
14+
"level": "warning",
15+
"message": {
16+
"text": " const string PASSWORD=\"THIS_M1GHT_B3_@\";"
17+
},
18+
"locations": [
19+
{
20+
"physicalLocation": {
21+
"artifactLocation": {
22+
"uri": "ktbind.hpp"
23+
},
24+
"region": {
25+
"startLine": 120
26+
}
27+
}
28+
}
29+
]
30+
}
31+
]
32+
}
33+
]
34+
}

0 commit comments

Comments
 (0)