Skip to content

Commit

Permalink
one line
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Hung authored and Ryan Hung committed Sep 4, 2023
1 parent 42145e3 commit f8495a8
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,7 @@ jobs:
run: docker build -t docker.io/fishy3legs/dataflow-api:1.0 .

- name: Start container with proper test environment variables
run: docker run -d --name test-container \
--env ${{ secrets.AWS_PUBLIC_KEY }} \
--env ${{ secrets.AWS_SECRET_KEY }} \
--env ${{ secrets.AWS_RDS_TEST }} \
--env ${{ secrets.JWT_SECRET }} \
docker.io/fishy3legs/dataflow-api:1.0
run: docker run -d --name test-container --env ${{ secrets.AWS_PUBLIC_KEY }} --env ${{ secrets.AWS_SECRET_KEY }} --env ${{ secrets.AWS_RDS_TEST }} --env ${{ secrets.JWT_SECRET }} docker.io/fishy3legs/dataflow-api:1.0

- name: Run tests with application inside test container
run: docker exec test-container npm run integration-tests
Expand Down

0 comments on commit f8495a8

Please sign in to comment.