Skip to content

Commit

Permalink
add manual build
Browse files Browse the repository at this point in the history
Signed-off-by: Erick Wendel <[email protected]>
  • Loading branch information
ErickWendel committed Mar 19, 2024
1 parent 26c75ab commit 408b28a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/docker-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,18 @@ jobs:
- name: Start localstack
run: docker-compose up -d localstack

- name: Build docker image
run: docker build -t e2e-tests-sls .

- name: Run tests
run: docker-compose up --exit-code-from test
run: docker run \
--restart=on-failure \
--env LOCALSTACK_HOST=localstack \
--env AWS_ACCESS_KEY_ID=test \
--env AWS_SECRET_ACCESS_KEY=test \
--network default \
e2e-tests-sls \
npm run test

- name: Clean up
run: docker-compose down --volumes

0 comments on commit 408b28a

Please sign in to comment.