From 39a679095167d032a5de36b088e48ae84b780ba2 Mon Sep 17 00:00:00 2001 From: Donald Hutchison Date: Thu, 26 Aug 2021 13:25:39 +0200 Subject: [PATCH 1/3] Explicit mix compile before running tests. --- .github/workflows/config.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 85b42d5272..9f87d7d08a 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -358,6 +358,7 @@ jobs: - name: mix test --exclude no_parity run: | cd apps/ethereum_jsonrpc + mix compile mix test --no-start --exclude no_parity env: # match POSTGRES_PASSWORD for postgres image below @@ -424,6 +425,7 @@ jobs: mix ecto.create --quiet mix ecto.migrate cd apps/explorer + mix compile mix test --no-start --exclude no_parity env: # match POSTGRES_PASSWORD for postgres image below @@ -483,6 +485,7 @@ jobs: mix ecto.create --quiet mix ecto.migrate cd apps/indexer + mix compile mix test --no-start --exclude no_parity env: # match POSTGRES_PASSWORD for postgres image below @@ -568,6 +571,7 @@ jobs: mix ecto.create --quiet mix ecto.migrate cd apps/block_scout_web + mix compile mix test --no-start --exclude no_parity env: # match POSTGRES_PASSWORD for postgres image below From b2ebc823c2cd86163ad56b9bd23afdee759d704a Mon Sep 17 00:00:00 2001 From: Donald Hutchison Date: Thu, 26 Aug 2021 13:29:30 +0200 Subject: [PATCH 2/3] Add this branch for ci tests. --- .github/workflows/config.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 9f87d7d08a..733e84c92b 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -4,6 +4,7 @@ on: push: branches: - master + - upstream/bugfix/mix_compile_tests pull_request: branches: - master From 4ad1dd709d6a8c6ad298437079c7fdd3e1ac63dc Mon Sep 17 00:00:00 2001 From: Donald Hutchison Date: Thu, 26 Aug 2021 14:06:16 +0200 Subject: [PATCH 3/3] Revert "Add this branch for ci tests." This reverts commit d8d35077ab95283ba4f3df3fc3f4e81e413f6103. --- .github/workflows/config.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/config.yml b/.github/workflows/config.yml index 733e84c92b..9f87d7d08a 100644 --- a/.github/workflows/config.yml +++ b/.github/workflows/config.yml @@ -4,7 +4,6 @@ on: push: branches: - master - - upstream/bugfix/mix_compile_tests pull_request: branches: - master