Update python_release_stage.yml

This commit is contained in:
Daniel Ciborowski 2020-06-12 07:57:37 -04:00 коммит произвёл GitHub
Родитель e69398d5e2
Коммит 28fec4babb
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 4 удалений

Просмотреть файл

@ -12,7 +12,7 @@ parameters:
release: #
dependsOn: []
environment: #
after: #
before: #
stages:
- stage: ${{parameters.stageName}}
@ -77,6 +77,9 @@ stages:
pip install pytest pytest-azurepipelines pytest-nunit pytest-cov keyring artifacts-keyring commondatamodel-objectmodel
displayName: 'Install dependencies'
continueOnError: true
# allow user to run global before
- ${{ if parameters.before }}:
- ${{ parameters.before }}
- script: |
pip install $(module)
pytest tests/integration --durations 0 --junitxml=junit/test-results.xml --cov=cdm2ai --cov-report=xml
@ -90,6 +93,3 @@ stages:
inputs:
codeCoverageTool: Cobertura
summaryFileLocation: '$(System.DefaultWorkingDirectory)/**/coverage.xml'
# allow user to run global before
- ${{ if parameters.after }}:
- ${{ parameters.after }}