Skip to content

feat: monkey patch non-100% coverage #3

feat: monkey patch non-100% coverage

feat: monkey patch non-100% coverage #3

Workflow file for this run

name: Foundry
on:
workflow_dispatch:
push:
branches: [main, develop, feat_unit_tests_full_coverage]
pull_request:
branches: [main, develop]
env:
FOUNDRY_PROFILE: ci
defaults:
run:
working-directory: foundry
jobs:
test-and-coverage:
name: Run tests and generate coverage
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1.2.0
- name: Run Forge tests and generate LCOV coverage report
run: |
forge test -vvv
forge coverage --report lcov
coverage_report:
name: Enforce 100% coverage
needs: test-and-coverage
runs-on: ubuntu-latest
steps:

Check failure on line 38 in .github/workflows/foundry.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/foundry.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
- name: Setup LCOV
uses: hrishikesh-kadam/setup-lcov@v1
- name: Report code coverage and check threshold
uses: zgosalvez/github-actions-report-lcov@v3
with:
coverage-files: 'lcov.info'
minimum-coverage: 100
update-comment: false
id: coverage