Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
NagaTulasi committed Sep 19, 2024
1 parent e10510b commit 34beae1
Show file tree
Hide file tree
Showing 4 changed files with 5,006 additions and 306 deletions.
24 changes: 16 additions & 8 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,19 @@ jobs:
go.sum
**/go.mod
**/go.sum
- name: run all tests and generate coverage
run: go test -v -mod=readonly -timeout 30m -coverprofile=coverage.txt -tags='norace' -covermode=atomic `go list ./... | grep -v simapp`
if: steps.get_diff.outputs.changed == 'true'
- name: Upload codecov report
uses: codecov/[email protected]
with:
file: coverage.txt
if: steps.get_diff.outputs.changed == 'true'
# - name: run all tests and generate coverage
# run: go test -v -mod=readonly -timeout 30m -coverprofile=coverage.txt -tags='norace' -covermode=atomic `go list ./... | grep -v simapp`
# if: steps.get_diff.outputs.changed == 'true'
# - name: Upload codecov report
# uses: codecov/[email protected]
# with:
# file: coverage.txt
# if: steps.get_diff.outputs.changed == 'true'
- name: tests
if: env.GIT_DIFF
run: |
cd client/v2
go test -mod=readonly -timeout 30m -coverprofile=coverage.out -covermode=atomic -tags='norace ledger test_ledger_mock rocksdb_build' ./...
- name: sonarcloud
if: ${{ env.GIT_DIFF && !github.event.pull_request.draft && env.SONAR_TOKEN != null }}
uses: SonarSource/sonarcloud-github-action@master
Loading

0 comments on commit 34beae1

Please sign in to comment.