-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(ci): create sequencer integration test workflow
commit-id:55e84a9b
- Loading branch information
1 parent
003c211
commit 5e67c52
Showing
3 changed files
with
50 additions
and
1 deletion.
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,37 @@ | ||
name: Sequencer-Integration-Tests-CI-Flow | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- opened | ||
- reopened | ||
- synchronize | ||
- auto_merge_enabled | ||
- edited | ||
|
||
env: | ||
SEQUENCER_INTEGRATION_TESTS: 1 | ||
RUSTFLAGS: "-D warnings" | ||
|
||
# On PR events, cancel existing CI runs on this same PR for this workflow. | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.job }} | ||
cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
|
||
jobs: | ||
build-sequencer-node: | ||
runs-on: starkware-ubuntu-latest-large | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ./.github/actions/bootstrap | ||
- run: cargo build --bin starknet_sequencer_node | ||
|
||
run-sequencer-integration-tests: | ||
needs: build-sequencer-node | ||
runs-on: starkware-ubuntu-latest-large | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: "Run test end-to-end integration test" | ||
run: | | ||
cargo test --test end_to_end_integration_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