Skip to content

Commit

Permalink
User var group
Browse files Browse the repository at this point in the history
  • Loading branch information
asvetlov committed Sep 22, 2019
1 parent 0402863 commit 7e0b5fe
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .azure-pipelines/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,13 @@ pr:
include:
- master

variables:
- group: codecov

stages:
- stage: test
displayName: "Run tests"
jobs:
- template: tests-template.yml
- template: tests-template.yml
parameters:
codecov.token: '$(codecov.token)'
5 changes: 5 additions & 0 deletions .azure-pipelines/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ trigger:
- refs/tags/*
pr: none

variables:
- group: codecov

stages:
- stage: test
displayName: "Run tests"
jobs:
- template: tests-template.yml
parameters:
codecov.token: '$(codecov.token)'

- stage: deploy
displayName: "Upload on PyPI"
Expand Down
3 changes: 3 additions & 0 deletions .azure-pipelines/tests-template.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
parameters:
codecov.token: ''

jobs:
- job: test
displayName: " "
Expand Down

0 comments on commit 7e0b5fe

Please sign in to comment.