-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e10510b
commit 34beae1
Showing
4 changed files
with
5,006 additions
and
306 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
Oops, something went wrong.