Skip to content

Commit 2026a67

Browse files
committed
ci: add type and lowering conformance job
1 parent 978a8dc commit 2026a67

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,30 @@ jobs:
6767
- name: Run examples parse regression suite
6868
run: RUST_MIN_STACK=134217728 cargo test -p zynml --test e2e_tests examples_regression:: -- --nocapture
6969

70+
type-lowering-conformance:
71+
name: type + lowering conformance
72+
runs-on: ubuntu-latest
73+
steps:
74+
- name: Checkout repository
75+
uses: actions/checkout@v4
76+
77+
- name: Setup Rust toolchain
78+
uses: dtolnay/rust-toolchain@stable
79+
80+
- name: Cache cargo artifacts
81+
uses: Swatinem/rust-cache@v2
82+
83+
- name: Run Grammar2 typed parsing conformance
84+
run: RUST_MIN_STACK=134217728 cargo test -p zynml --test e2e_tests grammar2_parsing:: -- --nocapture
85+
86+
- name: Run type-system conformance
87+
run: RUST_MIN_STACK=134217728 cargo test -p zynml --test e2e_tests type_system:: -- --nocapture
88+
89+
- name: Run lowering/runtime cast conformance
90+
run: |
91+
RUST_MIN_STACK=134217728 cargo test -p zynml --test e2e_tests execution::test_execute_implicit_numeric_casts_in_assignments -- --nocapture
92+
RUST_MIN_STACK=134217728 cargo test -p zynml --test e2e_tests execution::test_execute_implicit_numeric_casts_in_call_args -- --nocapture
93+
7094
runtime-smoke:
7195
name: runtime smoke
7296
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)