Skip to content

Commit 6671c52

Browse files
committed
test unit
1 parent 5beab33 commit 6671c52

File tree

1 file changed

+18
-6
lines changed

1 file changed

+18
-6
lines changed

.github/workflows/bb-ci-utils.yml

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
workflow_dispatch:
88

99
jobs:
10+
check:
11+
uses: "itsshantanu/gha-utils/.github/workflows/full-check.yml@main"
12+
1013
lint:
1114
name: Forge Lint
1215
uses: itsshantanu/gha-utils/.github/workflows/evm-lint.yml@demo/bb-ci
@@ -17,11 +20,20 @@ jobs:
1720
uses: itsshantanu/gha-utils/.github/workflows/forge-build.yml@demo/bb-ci
1821
secrets: inherit
1922

20-
test-utils:
21-
needs: ["lint", "build"]
22-
uses: "itsshantanu/gha-utils/.github/workflows/bb-forge-test.yml@demo/bb-ci"
23-
secrets: inherit
23+
# test-utils:
24+
# needs: ["lint", "build"]
25+
# uses: "itsshantanu/gha-utils/.github/workflows/bb-forge-test.yml@demo/bb-ci"
26+
# secrets: inherit
27+
# with:
28+
# foundry-profile: "test-optimized"
29+
# match-path: "tests/utils/**/*.sol"
30+
# name: "Utils tests"
31+
32+
test-unit:
33+
needs: ["check", "build"]
34+
if: needs.build.outputs.cache-status != 'primary'
35+
uses: "itsshantanu/gha-utils/.github/workflows/forge-test.yml@demo/bb-ci"
2436
with:
2537
foundry-profile: "test-optimized"
26-
match-path: "tests/utils/**/*.sol"
27-
name: "Utils tests"
38+
match-path: "tests/unit/**/*.sol"
39+
name: "Unit tests"

0 commit comments

Comments
 (0)