Skip to content

Commit

Permalink
Fixed integration tests
Browse files Browse the repository at this point in the history
See PR #311
  • Loading branch information
RiccardoM authored Oct 22, 2020
1 parent 681001c commit a95c208
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,5 @@ jobs:
.mod
.sum
- name: cli-test
run: |
make test-integration
if: "env.GIT_DIFF != ''"
run: make test-integration

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ test-unit:
@VERSION=$(VERSION) go test -mod=readonly $(PACKAGES_NOSIMULATION) -tags='ledger test_ledger_mock'

test-integration: build
BUILDDIR=$(BUILDDIR) go test -mod=readonly -p 4 `go list ./cli_test/...` -tags='cli_test' -v
BUILDDIR=$(BUILDDIR) go test -mod=readonly -p 4 `go list ./cli_test/...` -tags='cli_test' -v -timeout 20m

test-race:
@VERSION=$(VERSION) go test -mod=readonly -race -tags='ledger test_ledger_mock' ./...
Expand Down

0 comments on commit a95c208

Please sign in to comment.