Added GitHub Actions CI detection.#265
Added GitHub Actions CI detection.#265thomasrockhu merged 1 commit intocodecov:masterfrom nmoinvaz:improvements/github-actions
Conversation
Codecov Report
@@ Coverage Diff @@
## master #265 +/- ##
=====================================
Coverage 88% 88%
=====================================
Files 2 2
Lines 9 9
=====================================
Hits 8 8
Misses 1 1 |
|
@nmoinvaz shouldn't this obsolete the necessity of passing the token explicitly? When trying the tokenless upload, I still get the message |
|
I'm not sure how tokenless works. This PR only gets the environment variable values when running on GitHub Actions environment and uses them in the upload to Codecov. |
|
Any updates on this? This is especially useful for running tests inside |
|
Thanks @nmoinvaz on this, could we get some tests for this new behavior? |
|
Done. |
I initially had to do this before GitHub Actions was public. I now updated/copied from the bash uploader.