- Codecov Account: https://codecov.io
- GitHub Repository Access: You need admin access to SoroLabs/SoroTask
- GitHub Secrets Access: https://github.com/SoroLabs/SoroTask/settings/secrets/actions
- Visit https://codecov.io and sign in with GitHub
- Select the SoroLabs organization
- Navigate to Settings → Account → Upload token
- Copy the generated token (do NOT share this publicly)
- Go to https://github.com/SoroLabs/SoroTask/settings/secrets/actions
- Click New repository secret
- Name:
CODECOV_TOKEN - Value: Paste the token from Step 1
- Click Add secret
- Create a test branch:
git checkout -b test/coverage-setup - Make a small change
- Push and open a pull request
- GitHub Actions will run automatically
- Check the PR for the coverage report comment
- Line coverage of contract code
- Branch coverage
- Excludes fuzz targets automatically
- Timeout: 600 seconds
- Statements, Branches, Functions, Lines
- Covers Next.js React components
- Minimum thresholds: 70% for all metrics
- Excludes node_modules and .next
All metrics must meet 70% minimum:
- ✅ Statements: 70%+
- ✅ Branches: 70%+
- ✅ Functions: 70%+
- ✅ Lines: 70%+
- Codecov Dashboard: https://codecov.io/gh/SoroLabs/SoroTask
- Per-PR: Codecov comment appears automatically
- Badge: Add to README.md:
[](https://codecov.io/gh/SoroLabs/SoroTask)