chore(ci): wip, adding test that fails to check #16
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
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 | |