Skip to content

Commit

Permalink
Fix GH action for running unit tests (#1992)
Browse files Browse the repository at this point in the history
  • Loading branch information
hariso authored Nov 26, 2024
1 parent 43fe0a1 commit 95ab7da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,4 @@ jobs:

- name: Test
# The test coverate and the test report are needed for the SonarCloud analysis
run: make test-integration GOTEST_FLAGS="-v -count=1 -coverprofile coverage.out" 2>&1 | tee test-report.out

- name: SonarCloud Scan
uses: SonarSource/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: make test-integration GOTEST_FLAGS="-v -count=1"
2 changes: 1 addition & 1 deletion cmd/cli/cli_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func TestBuildRootCmd_HelpOutput(t *testing.T) {
"db.postgres.table",
"db.sqlite.path",
"db.sqlite.table",
"dev.blockprofileblockprofile",
"dev.blockprofile",
"dev.cpuprofile",
"dev.memprofile",
"api.enabled",
Expand Down
2 changes: 1 addition & 1 deletion pkg/conduit/entrypoint_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestFlags_HelpOutput(t *testing.T) {
"db.postgres.table",
"db.sqlite.path",
"db.sqlite.table",
"dev.blockprofileblockprofile",
"dev.blockprofile",
"dev.cpuprofile",
"dev.memprofile",
"api.enabled",
Expand Down

0 comments on commit 95ab7da

Please sign in to comment.