From 80b32a3442fc3aab3ca0924ec620eb83eb2d89ed Mon Sep 17 00:00:00 2001 From: ckoopmann Date: Thu, 18 Apr 2024 13:00:18 +0800 Subject: [PATCH] Add arbitrum integration tests to ci --- .circleci/config.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index 1997cb74..d9a3ad63 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -184,6 +184,29 @@ jobs: command: | cat coverage/lcov.info | ./node_modules/.bin/coveralls + test_integration_arbitrum: + docker: + - image: cimg/node:16.18 + working_directory: ~/index-coop-smart-contracts + steps: + - setup_remote_docker: + docker_layer_caching: false + - run: + name: Fetch solc version + command: docker pull ethereum/solc:0.6.10 + - restore_cache: + key: compiled-env-{{ .Environment.CIRCLE_SHA1 }} + - run: + name: Set Up Environment Variables + command: cp .env.default .env + - run: + name: Test RPC + command: yarn chain:fork:arbitrum + background: true + - run: + name: Hardhat Test + command: yarn run test:integration:arbitrum + workflows: version: 2 build-and-test: @@ -201,6 +224,9 @@ workflows: - test_integration_optimism: requires: - checkout_and_compile + - test_integration_arbitrum: + requires: + - checkout_and_compile - coverage: requires: - checkout_and_compile