mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
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...)
This commit is contained in:
parent
b06929a2c7
commit
2a78210c22
2 changed files with 16 additions and 5 deletions
|
@ -13,10 +13,10 @@ steps:
|
|||
sh --login .azure-pipelines/windows.sh
|
||||
displayName: Build and test
|
||||
|
||||
- bash: |
|
||||
set -eux
|
||||
source .azure-pipelines/lib.sh
|
||||
OS_NAME=windows source ci/codecov.sh
|
||||
# Try to upload the coverage files from the previous step to CodeCov
|
||||
# This job is allowed to fail s.t. it does not block PR's in case of
|
||||
# environmental issues
|
||||
- script: bash --login -c "OS_NAME=windows source ci/codecov.sh"
|
||||
displayName: "Upload coverage report"
|
||||
condition: eq( variables.DMD_TEST_COVERAGE, 1)
|
||||
continueOnError: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue