ci: fix artifacts being downloaded into wrong directory

This commit is contained in:
Jens Langhammer 2020-07-10 18:39:16 +02:00
parent 38cabfb325
commit b8af312ab1
1 changed files with 3 additions and 0 deletions

View File

@ -208,10 +208,12 @@ stages:
inputs: inputs:
buildType: 'current' buildType: 'current'
artifactName: 'coverage-e2e' artifactName: 'coverage-e2e'
path: "coverage-e2e/"
- task: DownloadPipelineArtifact@2 - task: DownloadPipelineArtifact@2
inputs: inputs:
buildType: 'current' buildType: 'current'
artifactName: 'coverage-unittest' artifactName: 'coverage-unittest'
path: "coverage-unittest/"
- task: UsePythonVersion@0 - task: UsePythonVersion@0
inputs: inputs:
versionSpec: '3.8' versionSpec: '3.8'
@ -220,6 +222,7 @@ stages:
script: | script: |
sudo pip install -U wheel pipenv sudo pip install -U wheel pipenv
pipenv install --dev pipenv install --dev
find .
pipenv run coverage combine coverage-e2e/coverage coverage-unittest/coverage pipenv run coverage combine coverage-e2e/coverage coverage-unittest/coverage
pipenv run coverage xml pipenv run coverage xml
pipenv run coverage html pipenv run coverage html