diff --git a/.github/workflows/foundry.yml b/.github/workflows/foundry.yml index 242adf533..3f5244194 100644 --- a/.github/workflows/foundry.yml +++ b/.github/workflows/foundry.yml @@ -4,9 +4,8 @@ on: workflow_dispatch: push: branches: - - master - mainnet - - testnet-goerli + - testnet-holesky - dev pull_request: @@ -24,8 +23,6 @@ jobs: test: name: Test runs-on: ubuntu-latest - strategy: - fail-fast: true steps: # Check out repository with all submodules for complete codebase access. - uses: actions/checkout@v4 @@ -66,8 +63,6 @@ jobs: run-coverage: name: Coverage runs-on: ubuntu-latest - strategy: - fail-fast: true steps: # Check out repository with all submodules for complete codebase access. - uses: actions/checkout@v4 @@ -107,7 +102,7 @@ jobs: path: report/* # Check coverage threshold after uploading report - - name: Check Coverage Threshold + - name: Check Coverage Threshold for >=90% run: | LINES_PCT=$(lcov --summary lcov.info | grep "lines" | cut -d ':' -f 2 | cut -d '%' -f 1 | tr -d '[:space:]') FUNCTIONS_PCT=$(lcov --summary lcov.info | grep "functions" | cut -d ':' -f 2 | cut -d '%' -f 1 | tr -d '[:space:]')