From c20a50007ceab82c5c51df38cdbdf4e1a1e5d07c Mon Sep 17 00:00:00 2001 From: Freddy Caceres Date: Tue, 15 Nov 2022 19:01:34 -0500 Subject: [PATCH 1/2] fix: remove e2e github action (#1463) * remove unused tests * imp: remove e2e github action --- .github/workflows/test.yml | 21 --------------------- Makefile | 3 --- scripts/integration-test-all.sh | 13 +------------ 3 files changed, 1 insertion(+), 36 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0ea9b5439c..eb9bf2f7fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -82,27 +82,6 @@ jobs: make test-rpc if: env.GIT_DIFF - test-e2e: - runs-on: ubuntu-latest - timeout-minutes: 15 - steps: - - uses: actions/setup-go@v3 - with: - go-version: 1.19 - check-latest: true - - uses: actions/checkout@v3 - - uses: technote-space/get-diff-action@v6.1.1 - with: - PATTERNS: | - **/**.sol - **/**.go - go.mod - go.sum - - name: Test e2e - run: | - make test-integration - if: env.GIT_DIFF - integration_tests: runs-on: ubuntu-latest steps: diff --git a/Makefile b/Makefile index 82bb582398..2faca3a4b8 100755 --- a/Makefile +++ b/Makefile @@ -328,9 +328,6 @@ test-import: test-rpc: ./scripts/integration-test-all.sh -t "rpc" -q 1 -z 1 -s 2 -m "rpc" -r "true" -test-integration: - ./scripts/integration-test-all.sh -t "integration" -q 1 -z 1 -s 2 -m "integration" -r "true" - run-integration-tests: @nix-shell ./tests/integration_tests/shell.nix --run ./scripts/run-integration-tests.sh diff --git a/scripts/integration-test-all.sh b/scripts/integration-test-all.sh index 31450eb2bb..e924311e77 100755 --- a/scripts/integration-test-all.sh +++ b/scripts/integration-test-all.sh @@ -141,17 +141,6 @@ echo "done sleeping" set +e -if [[ -z $TEST || $TEST == "integration" ]] ; then - time_out=300s - - for i in $(seq 1 "$TEST_QTD"); do - HOST_RPC=http://$IP_ADDR:$RPC_PORT"$i" - echo "going to test ethermint node $HOST_RPC ..." - MODE=$MODE HOST=$HOST_RPC go test ./tests/e2e/... -timeout=$time_out -v -short - TEST_FAIL=$? - done -fi - if [[ -z $TEST || $TEST == "rpc" || $TEST == "pending" ]]; then time_out=300s if [[ $TEST == "pending" ]]; then @@ -186,7 +175,7 @@ for i in "${arr[@]}"; do stop_func "$i" done -if [[ (-z $TEST || $TEST == "rpc" || $TEST == "integration" ) && $TEST_FAIL -ne 0 ]]; then +if [[ (-z $TEST || $TEST == "rpc") && $TEST_FAIL -ne 0 ]]; then exit $TEST_FAIL else exit 0 From d5917752a66da8fc13580bd0b3db5f15e2e18904 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 15 Nov 2022 19:42:21 -0500 Subject: [PATCH 2/2] build(deps): bump loader-utils from 1.4.1 to 1.4.2 in /tests/solidity (#1464) Bumps [loader-utils](https://github.com/webpack/loader-utils) from 1.4.1 to 1.4.2. - [Release notes](https://github.com/webpack/loader-utils/releases) - [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md) - [Commits](https://github.com/webpack/loader-utils/compare/v1.4.1...v1.4.2) --- updated-dependencies: - dependency-name: loader-utils dependency-type: indirect ... Signed-off-by: dependabot[bot] Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- tests/solidity/yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/solidity/yarn.lock b/tests/solidity/yarn.lock index d7c6f6bd82..5548bbd216 100644 --- a/tests/solidity/yarn.lock +++ b/tests/solidity/yarn.lock @@ -11043,9 +11043,9 @@ loader-runner@^2.3.0: integrity sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw== loader-utils@^1.1.0: - version "1.4.1" - resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.1.tgz#278ad7006660bccc4d2c0c1578e17c5c78d5c0e0" - integrity sha512-1Qo97Y2oKaU+Ro2xnDMR26g1BwMT29jNbem1EvcujW2jqt+j5COXyscjM7bLQkM9HaxI7pkWeW7gnI072yMI9Q== + version "1.4.2" + resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-1.4.2.tgz#29a957f3a63973883eb684f10ffd3d151fec01a3" + integrity sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg== dependencies: big.js "^5.2.2" emojis-list "^3.0.0"