From 12f0beae8fd251b11dd1922be2bfc138e03816d6 Mon Sep 17 00:00:00 2001 From: Haris Osmanagic Date: Tue, 26 Nov 2024 21:21:49 +0100 Subject: [PATCH 1/2] fix gh action --- .github/workflows/test.yml | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 83a5bcae4..0c1015d65 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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/sonarcloud-github-action@v3.1.0 - 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" From 6ef09dcd9e9f670c3822c1c611167ed3e6cdf7e9 Mon Sep 17 00:00:00 2001 From: Haris Osmanagic Date: Tue, 26 Nov 2024 21:32:27 +0100 Subject: [PATCH 2/2] fix tests --- cmd/cli/cli_test.go | 2 +- pkg/conduit/entrypoint_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/cli/cli_test.go b/cmd/cli/cli_test.go index 7bca0b0d1..c31a1842e 100644 --- a/cmd/cli/cli_test.go +++ b/cmd/cli/cli_test.go @@ -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", diff --git a/pkg/conduit/entrypoint_test.go b/pkg/conduit/entrypoint_test.go index 21c56bdad..133a95890 100644 --- a/pkg/conduit/entrypoint_test.go +++ b/pkg/conduit/entrypoint_test.go @@ -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",