Skip to content

Commit 3afdd3b

Browse files
committed
CI: Remove old codecov uploader
1 parent d7ada9e commit 3afdd3b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

ci/azure_template_posix.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,9 @@ jobs:
162162
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
163163
condition: and(eq(variables['coverage'], 'true'), ne(variables['test.install'], 'true'))
164164

165-
- bash: bash <(curl -s https://codecov.io/bash)
166-
displayName: 'CodeCov upload'
165+
- script: |
166+
curl -Os https://uploader.codecov.io/latest/linux/codecov
167+
chmod +x codecov
168+
./codecov -f coverage.xml -F adder -F subtractor
169+
displayName: 'Codecov upload'
167170
condition: and(eq(variables['coverage'], 'true'), ne(variables['test.install'], 'true'))

0 commit comments

Comments
 (0)