Skip to content

Commit

Permalink
Merge pull request #443 from atshaw43/master
Browse files Browse the repository at this point in the history
Fixing relative path for Integration Test
  • Loading branch information
atshaw43 authored Nov 14, 2023
2 parents 883e8ab + 776a6d2 commit f0033b4
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/IntegrationTesting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@ jobs:
- name: Checkout X-Ray Go SDK
uses: actions/checkout@v2

- name: Create a directory
run: mkdir sample-apps/http-server/aws-xray-sdk-go

- name: Copy X-Ray SDK to deployment package with Sample App
run: rsync -r * sample-apps/http-server/aws-xray-sdk-go --exclude sample-apps/

- name: The application.go file must be at the working directory level in EB Go. We need to change the redirection to the folder we copied in the previous step.
run: sed -i '' 's|replace github.com/aws/aws-xray-sdk-go => ../../|replace github.com/aws/aws-xray-sdk-go => ./aws-xray-sdk-go|g' go.mod

- name: Zip up the deployment package
run: zip -r deploy.zip . -x '*.git*'

Expand Down

0 comments on commit f0033b4

Please sign in to comment.