Skip to content

Commit

Permalink
Make src/test dir for package being tested before copying test tar fi…
Browse files Browse the repository at this point in the history
…les (microsoft#19491)

## Description

Follow-up to microsoft#19457: directory needs to be created before copying the
artifact's source files into it.

Co-authored-by: Abram Sanderson <absander@microsoft.com>
  • Loading branch information
Abe27342 and Abram Sanderson committed Feb 6, 2024
1 parent c4c1e19 commit 6938a04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/pipelines/templates/include-test-real-service.yml
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ jobs:
targetType: 'inline'
script: |
mkdir ${{ parameters.testWorkspace }}/node_modules/${{ parameters.testPackage }}/dist/test
mkdir ${{ parameters.testWorkspace }}/node_modules/${{ parameters.testPackage }}/src/test
tar -xvf $(Pipeline.Workspace)/test-files/${{ parameters.testFileTarName }}.test-files.tar -C $(Pipeline.Workspace)/test-files
mv $(Pipeline.Workspace)/test-files/dist/test/* ${{ parameters.testWorkspace }}/node_modules/${{ parameters.testPackage }}/dist/test
mv $(Pipeline.Workspace)/test-files/src/test/* ${{ parameters.testWorkspace }}/node_modules/${{ parameters.testPackage }}/src/test
Expand Down

0 comments on commit 6938a04

Please sign in to comment.