Skip to content
This repository has been archived by the owner on Apr 4, 2024. It is now read-only.

Commit

Permalink
Merge branch 'main' into fedekunze/bump-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
fedekunze authored Oct 22, 2021
2 parents 3c33250 + 1474c70 commit 82e6c17
Show file tree
Hide file tree
Showing 4 changed files with 292 additions and 423 deletions.
39 changes: 19 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,26 +55,25 @@ jobs:
fail_ci_if_error: true
if: env.GIT_DIFF

# TODO: refactor before enabling
# test-importer:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - uses: actions/[email protected]
# - uses: actions/[email protected]
# with:
# go-version: 1.17
# - uses: technote-space/get-diff-action@v5
# id: git_diff
# with:
# SUFFIX_FILTER: |
# .go
# .mod
# .sum
# - name: test-importer
# run: |
# make test-import
# if: "env.GIT_DIFF != ''"
test-importer:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/[email protected]
with:
go-version: 1.17
- uses: actions/checkout@v2
- uses: technote-space/get-diff-action@v5
id: git_diff
with:
SUFFIX_FILTER: |
.go
.mod
.sum
- name: test-importer
run: |
make test-import
if: "env.GIT_DIFF != ''"

test-solidity:
runs-on: ubuntu-latest
Expand Down
6 changes: 2 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ godocs:

test: test-unit
test-all: test-unit test-race
PACKAGES_UNIT=$(shell go list ./...)
PACKAGES_UNIT=$(shell go list ./... | grep -Ev 'vendor|importer')
TEST_PACKAGES=./...
TEST_TARGETS := test-unit test-unit-cover test-race

Expand All @@ -282,9 +282,7 @@ else
endif

test-import:
@go test ./tests/importer -v --vet=off --run=TestImportBlocks --datadir tmp \
--blockchain blockchain
rm -rf tests/importer/tmp
go test -run TestImporterTestSuite -v --vet=off github.com/tharsis/ethermint/tests/importer

test-rpc:
./scripts/integration-test-all.sh -t "rpc" -q 1 -z 1 -s 2 -m "rpc" -r "true"
Expand Down
Binary file added tests/importer/blockchain
Binary file not shown.
Loading

0 comments on commit 82e6c17

Please sign in to comment.