Skip to content

Commit bcd79f1

Browse files
authored
Merge pull request #650 from bashtage/add-token
CI: Remove old codecov uploader
2 parents f45037f + 3afdd3b commit bcd79f1

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
@@ -155,6 +155,9 @@ jobs:
155155
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
156156
condition: and(eq(variables['coverage'], 'true'), ne(variables['test.install'], 'true'))
157157

158-
- bash: bash <(curl -s https://codecov.io/bash)
159-
displayName: 'CodeCov upload'
158+
- script: |
159+
curl -Os https://uploader.codecov.io/latest/linux/codecov
160+
chmod +x codecov
161+
./codecov -f coverage.xml -F adder -F subtractor
162+
displayName: 'Codecov upload'
160163
condition: and(eq(variables['coverage'], 'true'), ne(variables['test.install'], 'true'))

0 commit comments

Comments
 (0)