Skip to content

Commit 9951a92

Browse files
committed
chore(ci): fix remaining workflows and delete sync-package.yml as it's no longer used
1 parent f7114df commit 9951a92

4 files changed

Lines changed: 14 additions & 83 deletions

File tree

.github/workflows/deploy-examples.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
pull_request:
55
branches: [ "main", "development"]
66
paths:
7-
- 'src/aws_durable_execution_sdk_python/**'
8-
- 'examples/**'
7+
- 'packages/aws-durable-execution-sdk-python/src/**'
8+
- 'packages/aws-durable-execution-sdk-python/examples/**'
99
- '.github/workflows/deploy-examples.yml'
1010
workflow_dispatch:
1111

@@ -26,7 +26,7 @@ jobs:
2626

2727
- name: Get examples from catalog
2828
id: get-examples
29-
working-directory: ./examples
29+
working-directory: ./packages/aws-durable-execution-sdk-python/examples
3030
run: |
3131
echo "examples=$(jq -c '.examples | map(select(.integration == true))' examples-catalog.json)" >> $GITHUB_OUTPUT
3232
@@ -58,10 +58,12 @@ jobs:
5858
- name: Install Hatch
5959
run: pip install hatch
6060
- name: Build examples
61+
working-directory: ./packages/aws-durable-execution-sdk-python
6162
run: hatch run examples:build
6263

6364
- name: Deploy Lambda function - ${{ matrix.example.name }}
6465
id: deploy
66+
working-directory: ./packages/aws-durable-execution-sdk-python
6567
env:
6668
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
6769
LAMBDA_ENDPOINT: "https://lambda.us-west-2.amazonaws.com"
@@ -99,6 +101,7 @@ jobs:
99101
echo "QUALIFIED_FUNCTION_NAME=$QUALIFIED_FUNCTION_NAME" >> $GITHUB_OUTPUT
100102
101103
- name: Run Integration Tests - ${{ matrix.example.name }}
104+
working-directory: ./packages/aws-durable-execution-sdk-python
102105
env:
103106
AWS_REGION: ${{ env.AWS_REGION }}
104107
LAMBDA_ENDPOINT: "https://lambda.us-west-2.amazonaws.com"

.github/workflows/integration-tests.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737
run: python -m pip install hatch==1.16.5
3838

3939
- name: Setup and run tests
40-
working-directory: language-sdk
40+
working-directory: language-sdk/packages/aws-durable-execution-sdk-python
4141
run: |
4242
echo "Running SDK tests..."
43-
hatch run -- test:pip install -e ../testing-sdk
44-
hatch run -- test:pip install -e ../language-sdk
43+
hatch run -- test:pip install -e ../../../testing-sdk
44+
hatch run -- test:pip install -e .
4545
hatch fmt --check
4646
hatch run types:check
4747
hatch run test:cov
@@ -84,7 +84,7 @@ jobs:
8484

8585
- name: Get integration examples
8686
id: get-examples
87-
working-directory: language-sdk/examples
87+
working-directory: language-sdk/packages/aws-durable-execution-sdk-python/examples
8888
run: |
8989
echo "examples=$(jq -c '.examples | map(select(.integration == true)) | .[0:2]' examples-catalog.json)" >> $GITHUB_OUTPUT
9090
@@ -97,15 +97,15 @@ jobs:
9797
rm -rf /tmp/aws/
9898
9999
- name: Deploy and test examples
100-
working-directory: language-sdk
100+
working-directory: language-sdk/packages/aws-durable-execution-sdk-python
101101
env:
102102
AWS_ACCOUNT_ID: ${{ secrets.AWS_ACCOUNT_ID }}
103103
LAMBDA_ENDPOINT: "https://lambda.us-west-2.amazonaws.com"
104104
INVOKE_ACCOUNT_ID: ${{ secrets.INVOKE_ACCOUNT_ID }}
105105
KMS_KEY_ARN: ${{ secrets.KMS_KEY_ARN }}
106106
run: |
107107
echo "Building examples..."
108-
hatch run -- examples:pip install -e ../testing-sdk
108+
hatch run -- examples:pip install -e ../../../testing-sdk
109109
hatch run examples:build
110110
111111
# Get first integration example for testing

.github/workflows/sync-package.yml

Lines changed: 0 additions & 72 deletions
This file was deleted.

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ dist/
3030

3131
.kiro/
3232

33-
/examples/build/*
34-
/examples/*.zip
33+
examples/build/*
34+
examples/*.zip
3535

3636
.env

0 commit comments

Comments
 (0)