Commit 81010b62 authored by Will Cory's avatar Will Cory

Add CI for ATST

add background: true

save without formatting

no coverage

add a build too

final updates

add to workflow

wait for anvil

wait 5 seconds for anvil

remove formatting

port 8546?

revert port thing

use anvil

use env var instead of --fork-url

try both?

huh??

do it the old way

remove linter

Update .circleci/config.yml

fix: use wait-on tcp:8545 to make sure anvil is up and not flaky

Bad block number

fix: restore yarn cache

use mainnet fork url

bad block number (again now that we switched to mainnet

revert prettier changes add the config from scratch

remove --fork-block-number until it works without it

Update .circleci/config.yml
parent 171b59e2
...@@ -660,6 +660,45 @@ jobs: ...@@ -660,6 +660,45 @@ jobs:
command: npx depcheck command: npx depcheck
working_directory: integration-tests working_directory: integration-tests
atst-tests:
docker:
- image: ethereumoptimism/ci-builder:latest
resource_class: large
steps:
- checkout
- attach_workspace: { at: '.' }
- check-changed:
patterns: atst,contracts-periphery
- restore_cache:
name: Restore Yarn Package Cache
keys:
- yarn-packages-v2-{{ checksum "yarn.lock" }}
- run:
name: anvil
background: true
command: anvil --fork-url $ANVIL_L2_FORK_URL_MAINNET --fork-block-number 92093723
- run:
name: build
command: yarn build
working_directory: packages/atst
- run:
name: typecheck
command: yarn typecheck
working_directory: packages/atst
- run:
name: lint
command: yarn lint:check
working_directory: packages/atst
- run:
name: make sure anvil is up
command: npx wait-on tcp:8545 && cast block-number --rpc-url http://localhost:8545
- run:
name: test
command: yarn test
no_output_timeout: 5m
working_directory: packages/atst
go-lint: go-lint:
parameters: parameters:
module: module:
...@@ -1094,6 +1133,9 @@ workflows: ...@@ -1094,6 +1133,9 @@ workflows:
- op-bindings-build: - op-bindings-build:
requires: requires:
- yarn-monorepo - yarn-monorepo
- atst-tests:
requires:
- yarn-monorepo
- js-lint-test: - js-lint-test:
name: actor-tests-tests name: actor-tests-tests
coverage_flag: actor-tests-tests coverage_flag: actor-tests-tests
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment