-
Notifications
You must be signed in to change notification settings - Fork 25
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
fbd5c2e
commit b905ddd
Showing
3 changed files
with
61 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,48 @@ | ||
name: Sequencer-Integration-Tests-CI-Flow | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
- main-v[0-9].** | ||
tags: | ||
- v[0-9].** | ||
|
||
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 | ||
- 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 | ||
with: | ||
# Fetch the entire history. | ||
fetch-depth: 0 | ||
- uses: ./.github/actions/bootstrap | ||
|
||
- 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