CABLE-LSM / benchcab

Tool for evaluation of CABLE land surface model
https://benchcab.readthedocs.io/en/latest/
Apache License 2.0
2 stars 3 forks source link

Add `black` and `ruff` to CI #301

Open abhaasgoyal opened 2 months ago

abhaasgoyal commented 2 months ago

Fixes #226

Description

Add stages for black and ruff tests. If the test case fails, then fail the stage and add it as a comment/report to github, but still be mergable.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 70.21%. Comparing base (3d504b6) to head (2727b7e). Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #301 +/- ## ======================================= Coverage 70.21% 70.21% ======================================= Files 20 20 Lines 1128 1128 ======================================= Hits 792 792 Misses 336 336 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.