Skip to content

Commit

Permalink
Merge pull request #968 from sablier-labs/ci/deep
Browse files Browse the repository at this point in the history
ci: use `fromJSON` to convert string into digits
  • Loading branch information
PaulRBerg authored Jul 8, 2024
2 parents 79f21a7 + f80fc8e commit 049e450
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci-deep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
needs: ["lint", "build"]
uses: "sablier-labs/reusable-workflows/.github/workflows/forge-test.yml@main"
with:
foundry-fuzz-runs: ${{ inputs.unitFuzzRuns || 50000 }}
foundry-fuzz-runs: ${{ fromJSON(inputs.unitFuzzRuns) || 50000 }}
foundry-profile: "test-optimized"
match-path: "test/unit/**/*.sol"
name: "Unit tests"
Expand All @@ -50,7 +50,7 @@ jobs:
needs: ["lint", "build"]
uses: "sablier-labs/reusable-workflows/.github/workflows/forge-test.yml@main"
with:
foundry-fuzz-runs: ${{ inputs.integrationFuzzRuns || 50000 }}
foundry-fuzz-runs: ${{ fromJSON(inputs.integrationFuzzRuns) || 50000 }}
foundry-profile: "test-optimized"
match-path: "test/integration/**/*.sol"
name: "Integration tests"
Expand All @@ -59,8 +59,8 @@ jobs:
needs: ["lint", "build"]
uses: "sablier-labs/reusable-workflows/.github/workflows/forge-test.yml@main"
with:
foundry-invariant-depth: ${{ inputs.invariantDepth || 100 }}
foundry-invariant-runs: ${{ inputs.invariantRuns || 100 }}
foundry-invariant-depth: ${{ fromJSON(inputs.invariantDepth) || 100 }}
foundry-invariant-runs: ${{ fromJSON(inputs.invariantRuns) || 100 }}
foundry-profile: "test-optimized"
match-path: "test/invariant/**/*.sol"
name: "Invariant tests"
Expand All @@ -71,7 +71,7 @@ jobs:
RPC_URL_MAINNET: ${{ secrets.RPC_URL_MAINNET }}
uses: "sablier-labs/reusable-workflows/.github/workflows/forge-test.yml@main"
with:
foundry-fuzz-runs: ${{ inputs.forkFuzzRuns || 1000 }}
foundry-fuzz-runs: ${{ fromJSON(inputs.forkFuzzRuns) || 1000 }}
foundry-profile: "test-optimized"
match-path: "test/fork/**/*.sol"
name: "Fork tests"

0 comments on commit 049e450

Please sign in to comment.