Closed lumtis closed 3 months ago
The changes introduce a new GitHub Actions workflow for test coverage reporting and adjust existing workflows by altering triggers and dependencies. Specifically highlighted are updates for Solidity testing configurations and enhancements to the package.json scripts to improve coverage reporting and linting processes.
Files | Change Summary |
---|---|
.github/workflows/coverage.yaml | Introduces a workflow that sets up Node.js, runs tests with coverage, and uploads reports to Codecov. |
.github/workflows/semantic-pr.yaml | Removes the push trigger, retaining only the pull_request trigger. |
.github/workflows/test.yaml | Adds a new line under the run: yarn test command in the Test job. |
.solcover.js | Adds configuration for Solidity contract testing and compiling, including test and compile commands and provider options. |
package.json | Updates solidity-coverage version, adds new options to the coverage script, and modifies lint:fix to exclude coverage files. |
Not applicable for these changes.
Amidst the code in the night so still,
Github workflows align with will.
Tests with coverage rise anew,
Solidity contracts compile true.
Linting whispers in the air,
Code is clean, beyond compare.
Oh code, you shine without despair!
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:
Note: keeping a different action for regular test, and coverage, there is currently a non-blocking issue with ZetaConsumerEVM contract, where the regular test passes but not the coverage command. This keep test check and uploading coverage as two separate concerns.
Summary by CodeRabbit
New Features
Chores
solidity-coverage
version and adjusted related scripts inpackage.json
.