Skip to content

Commit 89f154f

Browse files
committed
fix: checkout testing sdk repo too
1 parent 51fa93c commit 89f154f

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/create-emulator-pr.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ jobs:
3030
if: github.event.action == 'opened' || github.event.action == 'synchronize'
3131
runs-on: ubuntu-latest
3232
steps:
33+
- name: Checkout testing SDK repo
34+
uses: actions/checkout@v5
35+
with:
36+
path: testing-sdk
37+
3338
- name: Set up Python
3439
uses: actions/setup-python@v6
3540
with:
@@ -70,12 +75,8 @@ jobs:
7075
fi
7176
7277
# Update pyproject.toml to use local testing SDK (temporary, not committed)
73-
echo "GITHUB_WORKSPACE: $GITHUB_WORKSPACE"
74-
echo "Current directory: $(pwd)"
75-
echo "Parent directory contents:"
76-
ls -la ../
77-
TESTING_SDK_PATH="../aws-durable-execution-sdk-python-testing"
78-
sed -i.bak "s|aws-durable-execution-sdk-python-testing @ git+ssh://git@github.com/aws/aws-durable-execution-sdk-python-testing.git|aws-durable-execution-sdk-python-testing @ file://$PWD/${TESTING_SDK_PATH}|" pyproject.toml
78+
TESTING_SDK_PATH="$(realpath ../testing-sdk)"
79+
sed -i.bak "s|aws-durable-execution-sdk-python-testing @ git+ssh://git@github.com/aws/aws-durable-execution-sdk-python-testing.git|aws-durable-execution-sdk-python-testing @ file://${TESTING_SDK_PATH}|" pyproject.toml
7980
rm pyproject.toml.bak
8081
8182
# Generate new uv.lock with the specific testing SDK commit

0 commit comments

Comments
 (0)