Skip to content

Commit

Permalink
Copy downloaded binaries to the right place before running tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamYoblick committed Nov 6, 2024
1 parent db63cd5 commit 37eaf86
Showing 1 changed file with 24 additions and 12 deletions.
36 changes: 24 additions & 12 deletions azure-pipelines/pipelines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,16 @@ jobs:
- template: "templates/use_python.yml"

# download pydevd binaries
- task: DownloadBuildArtifacts@1
- download: current
displayName: Download pydevd binaries
artifact: pydevd binaries

# copy pydevd binaries
- task: CopyFiles@2
displayName: Copy pydevd binaries
inputs:
buildType: current
artifactName: pydevd binaries
downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)
SourceFolder: $(Pipeline.Workspace)/pydevd binaries
TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)

- template: "templates/run_tests.yml"

Expand Down Expand Up @@ -178,12 +182,16 @@ jobs:
displayName: "Bootstrap pip"

# download pydevd binaries
- task: DownloadBuildArtifacts@1
- download: current
displayName: Download pydevd binaries
artifact: pydevd binaries

# copy pydevd binaries
- task: CopyFiles@2
displayName: Copy pydevd binaries
inputs:
buildType: current
artifactName: pydevd binaries
downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)
SourceFolder: $(Pipeline.Workspace)/pydevd binaries
TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)

- template: "templates/run_tests.yml"

Expand Down Expand Up @@ -214,11 +222,15 @@ jobs:
- template: "templates/use_python.yml"

# download pydevd binaries
- task: DownloadBuildArtifacts@1
- download: current
displayName: Download pydevd binaries
artifact: pydevd binaries

# copy pydevd binaries
- task: CopyFiles@2
displayName: Copy pydevd binaries
inputs:
buildType: current
artifactName: pydevd binaries
downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)
SourceFolder: $(Pipeline.Workspace)/pydevd binaries
TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)

- template: "templates/run_tests.yml"

0 comments on commit 37eaf86

Please sign in to comment.