diff --git a/.github/actions/go-test-monorepo-action/go-test-monorepo-action.ps1 b/.github/actions/go-test-monorepo-action/go-test-monorepo-action.ps1 index 74af270..5706e94 100755 --- a/.github/actions/go-test-monorepo-action/go-test-monorepo-action.ps1 +++ b/.github/actions/go-test-monorepo-action/go-test-monorepo-action.ps1 @@ -13,7 +13,7 @@ Get-ChildItem -File -Recurse -Filter "go.mod" | ForEach-Object { if ($ONLY_MODULE_LIST -ne "true") { Write-Host "Testing and generating coverage for module: $module" Set-Location $module - go test -coverpkg=./... -coverprofile=coverage.out -timeout=1m ./... + go test -race -coverpkg=./... -coverprofile=coverage.out -timeout=1m ./... Set-Location .. } } diff --git a/.github/workflows/monorepo-main.yml b/.github/workflows/monorepo-main.yml index 27c5a26..a9ab8a1 100644 --- a/.github/workflows/monorepo-main.yml +++ b/.github/workflows/monorepo-main.yml @@ -94,12 +94,12 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} file: ${{ matrix.module }}/coverage.out - finish-coverage-report: - needs: coverage - if: github.event.inputs.strict == 'false' || success() - runs-on: ubuntu-latest - steps: - - name: Coveralls Finish - uses: coverallsapp/github-action@v2 - with: - parallel-finished: true + finish-coverage-report: + needs: coverage + if: github.event.inputs.strict == 'false' || success() + runs-on: ubuntu-latest + steps: + - name: Coveralls Finish + uses: coverallsapp/github-action@v2 + with: + parallel-finished: true