Skip to content

Commit

Permalink
fix broken ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneh1999 committed Nov 18, 2024
1 parent 4054e9d commit 1d23858
Showing 1 changed file with 14 additions and 38 deletions.
52 changes: 14 additions & 38 deletions .github/workflows/contract-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -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

Expand All @@ -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
Expand All @@ -267,19 +251,11 @@ 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

- name: Compile contracts
run: yarn build

- name: Run e2e tests
run: yarn test:e2e
run: yarn test:e2e

0 comments on commit 1d23858

Please sign in to comment.