forked from OffchainLabs/nitro-testnode
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migration test fixes and improvements. * Fixes naming of DeployAndInitEspressoSequencerInbox * adds readability and reliability improvements to migration-test script * adds a migration CI workflow --------- Co-authored-by: tbro <[email protected]> Co-authored-by: sveitser <[email protected]> Co-authored-by: Jeremy <[email protected]> Co-authored-by: Zach Showalter <[email protected]>
- Loading branch information
1 parent
f3565c0
commit b593254
Showing
7 changed files
with
221 additions
and
93 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,43 @@ | ||
name: Migration Test | ||
run-name: CI triggered from @${{ github.actor }} of ${{ github.head_ref }} | ||
|
||
on: | ||
workflow_dispatch: | ||
merge_group: | ||
push: | ||
schedule: | ||
# Run at the end of every day | ||
- cron: "0 0 * * *" | ||
|
||
# Cancel in-progress jobs except for integration branch | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: ${{ !contains(github.ref, 'integration/')}} | ||
|
||
jobs: | ||
migration_test: | ||
runs-on: ubuntu-24.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Nix | ||
uses: cachix/install-nix-action@v30 | ||
|
||
- name: Enable Cachix | ||
uses: cachix/cachix-action@v15 | ||
continue-on-error: true | ||
with: | ||
name: espresso-systems-private | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
extraPullNames: nix-community | ||
skipPush: ${{ github.actor == 'dependabot[bot]' }} | ||
|
||
- name: Migration Test | ||
run: | | ||
nix develop --accept-flake-config --option sandbox relaxed \ | ||
-c espresso-tests/migration-test.bash | ||
timeout-minutes: 45 |
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Submodule orbit-actions
updated
15 files