Skip to content

Commit

Permalink
update test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pandomic committed Nov 28, 2024
1 parent b228d2f commit 921b295
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
with:
path: app

- name: Checkout CI Extension
uses: actions/checkout@v4
Expand Down Expand Up @@ -62,23 +60,15 @@ jobs:
pip install requests boto3 pytest localstack-sdk-python
pip install localstack-ci-extension-plugins/pytest_plugin
pip install localstack
cd localstack-ci-extension && pip install -e . && cd -
- name: Prepare LocalStack
working-directory: ./localstack-ci-extension
run: |
LOCALSTACK_API_KEY=$LOCALSTACK_API_KEY \
API_ENDPOINT=https://api.staging.aws.localstack.cloud/v1 \
localstack extensions dev enable .
# uncomment the following lines if you need to ssh into the GH Action:
# - name: Setup upterm session
# uses: lhotari/action-upterm@v1
# with:
# limit-access-to-actor: true
# limit-access-to-users: pandomic,whummer,joe4dev,dfangl,dominikschubert
localstack extensions dev enable ./localstack-ci-extension
- name: Start LocalStack
working-directory: ./app
run: |
DEBUG=1 \
LOCALSTACK_API_KEY=$LOCALSTACK_API_KEY \
Expand All @@ -104,7 +94,6 @@ jobs:
exit 1
- name: Deploy infrastructure
working-directory: ./app
run: |
START_TIME=$(date -u +"%Y-%m-%dT%H:%M:%S.%3NZ")
bash bin/deploy.sh
Expand Down Expand Up @@ -140,7 +129,6 @@ jobs:
AWS_REGION: us-east-1
AWS_ACCESS_KEY_ID: test
AWS_SECRET_ACCESS_KEY: test
working-directory: ./app
run: |
pytest tests
Expand Down

0 comments on commit 921b295

Please sign in to comment.