diff --git a/.github/workflows/contract-tests.yml b/.github/workflows/contract-tests.yml index 4364dfcf..e85eb626 100644 --- a/.github/workflows/contract-tests.yml +++ b/.github/workflows/contract-tests.yml @@ -126,7 +126,7 @@ jobs: files: ./contracts/coverage.json verbose: false token: ${{ secrets.CODECOV_TOKEN }} - test-4844: + test-4844: name: 4844 tests runs-on: ubuntu-latest steps: @@ -139,14 +139,6 @@ jobs: with: version: nightly - - name: Prepare Environment Variables - run: | - cp .env.sample.goerli .env - export $(grep -v '^#' .env | xargs) # Load variables - for var in $(grep -v '^#' .env | cut -d= -f1); do - echo "$var=${!var}" >> $GITHUB_ENV - done - - uses: OffchainLabs/actions/run-nitro-test-node@test-node-args with: nitro-testnode-ref: deneb-integration @@ -176,12 +168,15 @@ jobs: with: submodules: recursive - - uses: OffchainLabs/actions/run-nitro-test-node@main + - uses: EspressoSystems/offchainlabs-actions/run-nitro-test-node@specify-checkout-repo with: l3-node: true + args: --espresso --latest-espresso-image no-token-bridge: true no-l3-token-bridge: true nitro-contracts-branch: '${{ github.event.pull_request.head.sha || github.sha }}' + nitro-testnode-ref: integration + nitro-testnode-repo: EspressoSystems/nitro-testnode - name: Setup node/yarn uses: actions/setup-node@v3 @@ -190,14 +185,6 @@ jobs: cache: 'yarn' cache-dependency-path: '**/yarn.lock' - - name: Prepare Environment Variables - run: | - cp .env.sample.goerli .env - export $(grep -v '^#' .env | xargs) # Load variables - for var in $(grep -v '^#' .env | cut -d= -f1); do - echo "$var=${!var}" >> $GITHUB_ENV - done - - name: Install packages run: yarn @@ -214,13 +201,15 @@ jobs: with: submodules: recursive - - uses: OffchainLabs/actions/run-nitro-test-node@main + - uses: EspressoSystems/offchainlabs-actions/run-nitro-test-node@specify-checkout-repo with: l3-node: true - args: --l3-fee-token + args: --l3-fee-token --espresso --latest-espresso-image no-token-bridge: true no-l3-token-bridge: true nitro-contracts-branch: '${{ github.event.pull_request.head.sha || github.sha }}' + nitro-testnode-ref: integration + nitro-testnode-repo: EspressoSystems/nitro-testnode - name: Setup node/yarn uses: actions/setup-node@v3 @@ -229,13 +218,6 @@ jobs: cache: 'yarn' cache-dependency-path: '**/yarn.lock' - - name: Prepare Environment Variables - run: | - cp .env.sample.goerli .env - export $(grep -v '^#' .env | xargs) # Load variables - for var in $(grep -v '^#' .env | cut -d= -f1); do - echo "$var=${!var}" >> $GITHUB_ENV - done - name: Install packages run: yarn @@ -252,13 +234,15 @@ jobs: with: submodules: recursive - - uses: OffchainLabs/actions/run-nitro-test-node@main + - uses: EspressoSystems/offchainlabs-actions/run-nitro-test-node@specify-checkout-repo with: l3-node: true - args: --l3-fee-token --l3-fee-token-decimals 6 + args: --espresso --latest-espresso-image --l3-fee-token --l3-fee-token-decimals 6 no-token-bridge: true no-l3-token-bridge: true nitro-contracts-branch: '${{ github.event.pull_request.head.sha || github.sha }}' + nitro-testnode-ref: 'integration' + nitro-testnode-repo: EspressoSystems/nitro-testnode - name: Setup node/yarn uses: actions/setup-node@v3 @@ -267,14 +251,6 @@ jobs: cache: 'yarn' cache-dependency-path: '**/yarn.lock' - - name: Prepare Environment Variables - run: | - cp .env.sample.goerli .env - export $(grep -v '^#' .env | xargs) # Load variables - for var in $(grep -v '^#' .env | cut -d= -f1); do - echo "$var=${!var}" >> $GITHUB_ENV - done - - name: Install packages run: yarn @@ -282,4 +258,4 @@ jobs: run: yarn build - name: Run e2e tests - run: yarn test:e2e + run: yarn test:e2e \ No newline at end of file