File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1414 - miniflare/**
1515 workflow_dispatch :
1616
17+ env :
18+ LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
19+
1720jobs :
1821 tests-miniflare :
1922 name : Run extension tests
2023 runs-on : ubuntu-latest
2124 steps :
2225 - name : Checkout
23- uses : actions/checkout@v3
24-
25- - name : Set up Python 3.x
26- id : setup-python
27- uses : actions/setup-python@v4
26+ uses : actions/checkout@v6
2827 with :
29- python-version : ' 3.13 '
28+ persist-credentials : true
3029
3130 - name : Install LocalStack and extension
32- env :
33- LOCALSTACK_AUTH_TOKEN : ${{ secrets.LOCALSTACK_AUTH_TOKEN }}
3431 run : |
32+ cd miniflare
33+
3534 docker pull localstack/localstack-pro &
36- pip install localstack localstack-ext
35+ pip install localstack
3736
38- branchName=${GITHUB_HEAD_REF##*/}
39- if [ "$branchName" = "" ]; then branchName=main; fi
40- echo "Installing from branch name $branchName"
41- localstack extensions init
42- localstack extensions install "git+https://github.com/localstack/localstack-extensions.git@"$branchName"#egg=localstack-extension-miniflare&subdirectory=miniflare"
37+ make install
38+ make dist
39+ localstack extensions -v install file://$(ls ./dist/localstack_extension_miniflare-*.tar.gz)
4340
4441 DEBUG=1 localstack start -d
4542 localstack wait
You can’t perform that action at this time.
0 commit comments