Skip to content
This repository was archived by the owner on Apr 3, 2026. It is now read-only.

Commit 6eef6c1

Browse files
committed
ci: test bulloak
1 parent 3204408 commit 6eef6c1

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,13 @@ jobs:
9999
FOUNDRY_PROFILE: optimized
100100
run: forge build --root ${{ matrix.workspace }}
101101

102+
- name: Run Bulloak check
103+
if: steps.cache-step.outputs.cache-status != 'primary'
104+
uses: "smol-ninja/bulloak-toolchain@v1"
105+
with:
106+
skip-modifiers: true
107+
tree-path: ${{ matrix.workspace }}/tests/{{ matrix.test-type }}/**/*.tree
108+
102109
- name: Run tests
103110
if: steps.cache-step.outputs.cache-status != 'primary'
104111
env:

justfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,12 @@ alias b := build
4040
# ---------------------------------------------------------------------------- #
4141

4242
[group("test")]
43-
test path="tests/**/*.sol":
44-
forge test --match-path "{{ path }}"
43+
test workspace path="tests/**/*.sol":
44+
forge test --root {{ workspace }} --match-path "{{ path }}"
45+
alias test-forge := test
46+
47+
test-bulloak workspace:
48+
bulloak check --tree-path "{{ workspace }}/tests/**/*.tree"
4549

4650
# ---------------------------------------------------------------------------- #
4751
# PRIVATE SCRIPTS #

0 commit comments

Comments
 (0)