diff --git a/.circleci/config.yml b/.circleci/config.yml index 3582157cea..50b28b631b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -441,60 +441,60 @@ jobs: # path: cover/excoveralls.html # - store_test_results: # path: _build/test/junit - test_parity_http_websocket: - docker: - # Ensure .tool-versions matches - - image: circleci/elixir:1.9.1-node-browsers - environment: - MIX_ENV: test - # match POSTGRES_PASSWORD for postgres image below - PGPASSWORD: postgres - # match POSTGRES_USER for postgres image below - PGUSER: postgres - ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Parity.HTTPWebSocket" - ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Parity" - - image: circleci/postgres:10.3-alpine - environment: - # Match apps/explorer/config/test.exs config :explorer, Explorer.Repo, database - POSTGRES_DB: explorer_test - # match PGPASSWORD for elixir image above - POSTGRES_PASSWORD: postgres - # match PGUSER for elixir image above - POSTGRES_USER: postgres + # test_parity_http_websocket: + # docker: + # # Ensure .tool-versions matches + # - image: circleci/elixir:1.9.1-node-browsers + # environment: + # MIX_ENV: test + # # match POSTGRES_PASSWORD for postgres image below + # PGPASSWORD: postgres + # # match POSTGRES_USER for postgres image below + # PGUSER: postgres + # ETHEREUM_JSONRPC_CASE: "EthereumJSONRPC.Case.Parity.HTTPWebSocket" + # ETHEREUM_JSONRPC_WEB_SOCKET_CASE: "EthereumJSONRPC.WebSocket.Case.Parity" + # - image: circleci/postgres:10.3-alpine + # environment: + # # Match apps/explorer/config/test.exs config :explorer, Explorer.Repo, database + # POSTGRES_DB: explorer_test + # # match PGPASSWORD for elixir image above + # POSTGRES_PASSWORD: postgres + # # match PGUSER for elixir image above + # POSTGRES_USER: postgres - working_directory: ~/app + # working_directory: ~/app - steps: - - attach_workspace: - at: . + # steps: + # - attach_workspace: + # at: . - - run: - command: ./bin/install_chrome_headless.sh - no_output_timeout: 2400 + # - run: + # command: ./bin/install_chrome_headless.sh + # no_output_timeout: 2400 - - run: mix local.hex --force - - run: mix local.rebar --force + # - run: mix local.hex --force + # - run: mix local.rebar --force - - run: - name: Wait for DB - command: dockerize -wait tcp://localhost:5432 -timeout 1m + # - run: + # name: Wait for DB + # command: dockerize -wait tcp://localhost:5432 -timeout 1m - - run: - name: mix test --exclude no_parity - command: | - # Don't submit coverage report for forks, but let the build succeed - if [[ -z "$COVERALLS_REPO_TOKEN" ]]; then - mix coveralls.html --exclude no_parity --parallel --umbrella - else - mix coveralls.circle --exclude no_parity --parallel --umbrella || - # if mix failed, then coveralls_merge won't run, so signal done here and return original exit status - (retval=$? && curl -k https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN -d "payload[build_num]=$CIRCLE_WORKFLOW_WORKSPACE_ID&payload[status]=done" && return $retval) - fi + # - run: + # name: mix test --exclude no_parity + # command: | + # # Don't submit coverage report for forks, but let the build succeed + # if [[ -z "$COVERALLS_REPO_TOKEN" ]]; then + # mix coveralls.html --exclude no_parity --parallel --umbrella + # else + # mix coveralls.circle --exclude no_parity --parallel --umbrella || + # # if mix failed, then coveralls_merge won't run, so signal done here and return original exit status + # (retval=$? && curl -k https://coveralls.io/webhook?repo_token=$COVERALLS_REPO_TOKEN -d "payload[build_num]=$CIRCLE_WORKFLOW_WORKSPACE_ID&payload[status]=done" && return $retval) + # fi - - store_artifacts: - path: cover/excoveralls.html - - store_test_results: - path: _build/test/junit + # - store_artifacts: + # path: cover/excoveralls.html + # - store_test_results: + # path: _build/test/junit test_parity_mox: docker: # Ensure .tool-versions matches @@ -571,7 +571,7 @@ workflows: # This unfortunately will only fire if all the tests pass because of how `requires` works - coveralls_merge: requires: - - test_parity_http_websocket + # - test_parity_http_websocket - test_parity_mox # - test_geth_http_websocket # - test_geth_mox @@ -591,7 +591,7 @@ workflows: - eslint - jest - sobelow - - test_parity_http_websocket + # - test_parity_http_websocket - test_parity_mox # - test_geth_http_websocket # - test_geth_mox @@ -613,9 +613,9 @@ workflows: - sobelow: requires: - build - - test_parity_http_websocket: - requires: - - build + # - test_parity_http_websocket: + # requires: + # - build - test_parity_mox: requires: - build diff --git a/CHANGELOG.md b/CHANGELOG.md index 119599b845..62ce88bd8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ ### Chore +- [#2896](https://github.com/poanetwork/blockscout/pull/2896) - Disable Parity websockets tests + ## 2.1.1-beta