Skip to content

Commit

Permalink
make azure pipelines upload coverage reports (nilearn#2419)
Browse files Browse the repository at this point in the history
Problems and fixes:
--------------------------

- token was not shared with builds of forks (it's a box to tick
  somewhere in the web UI)
- the secret variable was not mapped as an environment variable (they
  are not decrypted unless you request it in the yaml file)
- the cmd script was using bash syntax to refer to the environment
  variable

Commits:
-------------

* update azure.yml

* iter

* iter

* iter

* iter

* iter

* iter

* remove verbose

* undo temp change

* clear circle ci cache
  • Loading branch information
jeromedockes authored Apr 29, 2020
1 parent 706a9b4 commit 927976d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .circleci/docs-cache-timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2019-11-07 13:17:41.900352
2020-04-28 23:03:23.904075
2 changes: 1 addition & 1 deletion .circleci/packages-cache-timestamp
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2019-11-07 13:17:41.900617
2020-04-28 23:03:23.904248
5 changes: 4 additions & 1 deletion azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,11 @@ jobs:
displayName: 'test'
- script: |
codecov -f coverage.xml --token=$(CODECOV_TOKEN)
codecov -f coverage.xml -t %CODECOV_TOKEN%
displayName: 'codecov'
env:
CODECOV_TOKEN: $(CODECOV_TOKEN)
- task: PublishTestResults@2
inputs:
testResultsFiles: '**/test-results.xml'
Expand Down

0 comments on commit 927976d

Please sign in to comment.