-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into update-turing-tests-mainnet
- Loading branch information
Showing
834 changed files
with
251,252 additions
and
65,529 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#adapted from https://raw.githubusercontent.com/ethereum-optimism/optimism/develop/.circleci/config.yml | ||
version: 2.1 | ||
|
||
jobs: | ||
integration-tests: | ||
machine: | ||
image: ubuntu-2004:202111-02 | ||
docker_layer_caching: true | ||
environment: | ||
DOCKER_BUILDKIT: 1 | ||
parallelism: 4 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Bring up the stack | ||
command: | | ||
./scripts/build-ci.sh | ||
BUILD=2 DAEMON=1 ./up_local.sh | ||
working_directory: ops | ||
- run: | ||
name: Start background logging | ||
working_directory: ops | ||
background: true | ||
command: docker-compose -f docker-compose.yml logs --follow | ||
- run: | ||
name: Wait for sequencer | ||
command: bash scripts/wait-for-sequencer.sh | ||
working_directory: ops | ||
- run: | ||
name: Run integration tests | ||
command: | | ||
circleci tests glob "../integration-tests/test/*.spec.ts" | circleci tests split | tee splits.txt | ||
docker-compose run integration_tests $(cat splits.txt) | ||
working_directory: ops | ||
|
||
workflows: | ||
main: | ||
jobs: | ||
- integration-tests |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: boba-gas-oracle unit tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- 'packages/boba/gas-price-oracle/**' | ||
branches: | ||
- 'master' | ||
- 'develop' | ||
- '*rc' | ||
- 'regenesis/*' | ||
pull_request: | ||
paths: | ||
- 'packages/boba/gas-price-oracle/**' | ||
branches: | ||
- 'master' | ||
- 'develop' | ||
- '*rc' | ||
- 'regenesis/*' | ||
workflow_dispatch: | ||
|
||
jobs: | ||
tests: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Monorepo tests | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Get yarn cache directory path | ||
id: yarn-cache-dir-path | ||
run: echo "::set-output name=dir::$(yarn cache dir)" | ||
|
||
- uses: actions/cache@v2 | ||
id: yarn-cache | ||
with: | ||
path: ${{ steps.yarn-cache-dir-path.outputs.dir }} | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
restore-keys: | | ||
${{ runner.os }}-yarn- | ||
- name: Build | ||
working-directory: ./ | ||
run: yarn && yarn install && yarn build | ||
|
||
- name: Run Boba gas oracle unit tests | ||
working-directory: ./packages/boba/gas-price-oracle | ||
run: yarn test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.