File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -68,23 +68,25 @@ jobs:
6868 if : matrix.os != 'windows-latest'
6969 run : chmod +x cli-v2
7070
71- - name : Run init tests on Windows
71+ - name : Run init tests on Windows native
7272 if : matrix.os == 'windows-latest'
7373 id : run_init_tests_windows
74+ continue-on-error : true
7475 shell : pwsh
75- env :
76- CODACY_API_TOKEN : ${{ secrets.CODACY_API_TOKEN }}
7776 run : |
7877 $ErrorActionPreference = "Stop"
7978 & ./integration-tests/run.ps1
8079 if ($LASTEXITCODE -ne 0) {
8180 Write-Error "Integration tests failed with exit code $LASTEXITCODE"
8281 exit $LASTEXITCODE
8382 }
83+ env :
84+ CODACY_API_TOKEN : ${{ secrets.CODACY_API_TOKEN }}
8485
8586 - name : Run init tests on Unix
8687 if : matrix.os != 'windows-latest'
8788 id : run_init_tests_unix
89+ continue-on-error : true
8890 shell : bash
8991 env :
9092 CODACY_API_TOKEN : ${{ secrets.CODACY_API_TOKEN }}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ type Tool struct {
3838type Driver struct {
3939 Name string `json:"name"`
4040 Version string `json:"version"`
41- InformationURI string `json:"informationUri"`
41+ InformationURI string `json:"informationUri,omitempty "`
4242 Rules []Rule `json:"rules"`
4343}
4444
@@ -59,7 +59,7 @@ type RuleProperties struct {
5959
6060type Result struct {
6161 RuleID string `json:"ruleId"`
62- Level string `json:"level"`
62+ Level string `json:"level,omitempty "`
6363 Message MessageText `json:"message"`
6464 Locations []Location `json:"locations"`
6565}
@@ -80,6 +80,8 @@ type ArtifactLocation struct {
8080type Region struct {
8181 StartLine int `json:"startLine"`
8282 StartColumn int `json:"startColumn"`
83+ EndLine int `json:"endLine,omitempty"`
84+ EndColumn int `json:"endColumn,omitempty"`
8385}
8486
8587type MessageText struct {
You can’t perform that action at this time.
0 commit comments