Skip to content

Commit

Permalink
refactor: remove and modify some small details
Browse files Browse the repository at this point in the history
  • Loading branch information
nadir-akhtar committed Feb 7, 2025
1 parent 3ddc338 commit 7b28c69
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/foundry.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,8 @@ on:
workflow_dispatch:
push:
branches:
- master
- mainnet
- testnet-goerli
- testnet-holesky
- dev
pull_request:

Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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:]')
Expand Down

0 comments on commit 7b28c69

Please sign in to comment.