BlueBrain / BlueCelluLab

Biologically detailed neural network simulations and analysis API
https://bluecellulab.readthedocs.io/en/latest/
Apache License 2.0
12 stars 14 forks source link

CI: pass CODECOV token in release->test workflow call #141

Closed anilbey closed 7 months ago

anilbey commented 7 months ago

Issue

The coverage was only getting updated for the PR branches not main.

Reason

For security reasons when we call a workflow from the other we need to specify the env vars.

To upload the coverage of the main we do 2 workflow calls. 1) release.yml -> test.yml 2) test.yml -> codecov's workflow

Solution

Previously in 2, the secret is passed. In 1 it was not. Now both of them pass.

codecov-commenter commented 7 months ago

Codecov Report

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

Project coverage is 88.96%. Comparing base (d7a5240) to head (e898ec3). Report is 9 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #141 +/- ## ========================================== + Coverage 85.30% 88.96% +3.65% ========================================== Files 80 84 +4 Lines 5404 5183 -221 ========================================== + Hits 4610 4611 +1 + Misses 794 572 -222 ```

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