Commit graph

4 commits

Author SHA1 Message Date
Florian
a06e8f7909
Azure/CodeCov: Remove workaround for token-less coverage upload (#13535)
`coverage.sh` used to explicitly specify the commit associated with the
coverage report as a workaround to an issue when uploading without
`CODECOV_TOKEN` from a public Azure pipeline[1]. The workaround is not
required anymore as the uploads now succeeds with the default settings.

The upload to CodeCov probably broke because `$BUILD_SOURCEVERSION` now
points to a local merge commit (PR branch => target branch).

[1] https://github.com/codecov/codecov-bash/issues/287
2022-02-17 15:19:47 +02:00
MoonlightSentinel
5922fb3340
codecov.sh: Remove lst files for generated source files
Those files are generated and don't exist in the repository
2022-02-14 20:52:18 +01:00
MoonlightSentinel
2a78210c22 Azure: Fix CodeCov upload by using a proper login shell
The CodeCov script needs to be run with a `--login` shell s.t. it has
access to `shasum`,... .

(The previous draft PR was merged with an allowed failure...)
2022-01-15 13:28:25 +00:00
MoonlightSentinel
9ff5805c1d Switch to new CodeCov uploader
The currently used bash uploader is deprecated and will be removed in
the future[1]. This commit replaces the existing setup with the new
uploader for all currently supported platforms as proposed in [2].

Additional notes:
- FreeBSD support isn't supported yet and keeps using the old uploader
- Moved the new implementation into a dedicated file `source`d by
  all coverage CI's (instead of changing each individual configuration)

[1] https://about.codecov.io/blog/codecov-uploader-deprecation-plan
[2] https://about.codecov.io/blog/introducing-codecovs-new-uploader
2021-10-27 07:37:27 +00:00