From 3b3ae943e1de4ecee4c718edaefd8b55d1f8603b Mon Sep 17 00:00:00 2001 From: Artem Storozhuk Date: Tue, 1 Aug 2023 15:39:35 +0300 Subject: [PATCH] 2 --- .github/workflows/test.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e5ca05..6c9b1ff 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -7,30 +7,20 @@ env: jobs: integration-tests: + needs: [unit-tests] strategy: fail-fast: true name: Integration Tests runs-on: [self-hosted, anvil] steps: - - uses: actions/checkout@v3 - with: - submodules: recursive - - - name: Set up Python - uses: actions/setup-python@v2 - with: - python-version: 3.8 - - - name: Install Foundry - uses: foundry-rs/foundry-toolchain@v1 - with: - version: nightly + - name: Starting Anvil + run: | + anvil --gas-limit 18446744073709551615 --code-size-limit 18446744073709551615 - - name: Check formatting + - name: Deploy main contract run: | - forge fmt --check - id: formatting + forge script script/Deployment.s.sol:NovaVerifierDeployer --fork-url http://127.0.0.1:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 --broadcast unit-tests: strategy: