-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into rlimit-0.7.0
- Loading branch information
Showing
17 changed files
with
208 additions
and
117 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
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
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,63 @@ | ||
name: Test | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- main | ||
paths-ignore: | ||
- '**/*.rs' | ||
- '**/*.txt' | ||
- '**/Cargo.toml' | ||
- '**/Cargo.lock' | ||
- 'docker/**' | ||
- '.github/workflows/test.yml' | ||
|
||
jobs: | ||
build: | ||
name: Build images | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: 'echo "No build required"' | ||
|
||
# Run all the zebra tests, including tests that are ignored by default | ||
test-all: | ||
name: Test all | ||
runs-on: ubuntu-latest | ||
needs: build | ||
if: ${{ github.event.inputs.regenerate-disks != 'true' }} | ||
steps: | ||
- run: 'echo "No build required"' | ||
|
||
test-fake-activation-heights: | ||
name: Test with fake activation heights | ||
runs-on: ubuntu-latest | ||
needs: build | ||
if: ${{ github.event.inputs.regenerate-disks != 'true' }} | ||
steps: | ||
- run: 'echo "No build required"' | ||
|
||
# Test that Zebra syncs and checkpoints a few thousand blocks from an empty state | ||
test-empty-sync: | ||
name: Test checkpoint sync from empty state | ||
runs-on: ubuntu-latest | ||
needs: build | ||
if: ${{ github.event.inputs.regenerate-disks != 'true' }} | ||
steps: | ||
- run: 'echo "No build required"' | ||
|
||
regenerate-stateful-disks: | ||
name: Regenerate stateful disks | ||
runs-on: ubuntu-latest | ||
needs: build | ||
outputs: | ||
disk_short_sha: ${{ steps.disk-short-sha.outputs.disk_short_sha }} | ||
steps: | ||
- run: 'echo "No build required"' | ||
|
||
# Test that Zebra syncs and fully validates a few thousand blocks from a cached post-checkpoint state | ||
test-stateful-sync: | ||
name: Test full validation sync from cached state | ||
runs-on: ubuntu-latest | ||
needs: [ build, regenerate-stateful-disks] | ||
steps: | ||
- run: 'echo "No build required"' |
Oops, something went wrong.