Skip to content

Commit c92d556

Browse files
committed
feat: add contract tests to cicd.
1 parent f759e08 commit c92d556

File tree

3 files changed

+9
-38
lines changed

3 files changed

+9
-38
lines changed

.github/workflows/checks.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,14 @@ jobs:
2424
- name: Install Nix
2525
uses: DeterminateSystems/nix-installer-action@main
2626

27-
- name: Run test in nix environment
27+
- name: Run Cargo Check in nix environment
2828
run: nix develop --command bash -c "cargo check"
2929

30-
- name: Run test in nix environment
30+
- name: Run MCR tests in nix environment
31+
run: nix develop --command bash -c "just mcr-contract-tests"
32+
33+
- name: Run M1 DA Light Node tests in nix environment
3134
run: nix develop --command bash -c "just m1-da-light-node test.local -t=false"
3235

33-
- name: Run test in nix environment
36+
- name: Run monza tests in nix environment
3437
run: nix develop --command bash -c "just monza-full-node test.local -t=false"

justfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@ m1-da-light-node FEATURES *ARGS:
22
cargo build -p m1-da-light-node
33
scripts/movement/run m1-da-light-node {{ FEATURES }} {{ ARGS }}
44
monza-full-node FEATURES *ARGS:
5-
scripts/movement/run monza-full-node {{ FEATURES }} {{ ARGS }}
5+
scripts/movement/run monza-full-node {{ FEATURES }} {{ ARGS }}
6+
mcr-contract-tests:
7+
cd ./protocol-units/settlement/mcr/contracts && forge test

protocol-units/settlement/mcr/contracts/.github/workflows/test.yml

-34
This file was deleted.

0 commit comments

Comments
 (0)