Fix unit tests (#24)

This commit was merged in pull request #24.
This commit is contained in:
Luke Tainton
2022-08-13 21:08:32 +01:00
committed by GitHub
parent d4c812f214
commit 6db5904a31
2 changed files with 3 additions and 1 deletions

View File

@@ -25,6 +25,7 @@ jobs:
cat report.xml
- name: Test
run: go test -short -coverprofile=coverage.out
continue-on-error: true
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

View File

@@ -3,4 +3,5 @@ sonar.sources=.
sonar.exclusions=,.github/**,.gitignore,CODEOWNERS,CHANGELOG.md,LICENSE.md,README.md,renovate.json,**/*_test.go
sonar.tests=.
sonar.test.inclusions=**/*_test.go
sonar.go.golangci-lint.reportPaths=report.xml
sonar.go.golangci-lint.reportPaths=report.xml
sonar.go.coverage.reportPaths=coverage.out