Skip to content

Commit

Permalink
chore(core): separate L2 Integration test CI from the L1 CI (#1242)
Browse files Browse the repository at this point in the history
**Motivation**

<!-- Why does this pull request exist? What are its goals? -->

**Description**

<!-- A clear and concise general description of the changes this PR
introduces -->

<!-- Link to issues: Resolves #111, Resolves #222 -->
  • Loading branch information
jrchatruc authored Nov 25, 2024
1 parent a49590b commit 08f817d
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,6 @@ jobs:
run: |
make download-test-vectors
- name: Run L2 integration test
run: |
cd crates/l2
cp .env.example .env
make test
- name: Run tests
run: |
make test
Expand Down
40 changes: 40 additions & 0 deletions .github/workflows/ci_l2.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: CI L2
on:
merge_group:
pull_request:
branches: ["**"]
paths-ignore:
- "README.md"
- "LICENSE"
- "**/README.md"
- "**/docs/**"
- "crates/vm/levm/**" # We ran this in a separate workflow

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

env:
RUST_VERSION: 1.80.1

jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Rustup toolchain install
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ env.RUST_VERSION }}

- name: Caching
uses: Swatinem/rust-cache@v2

- name: Run L2 integration test
run: |
cd crates/l2
cp .env.example .env
make test

0 comments on commit 08f817d

Please sign in to comment.