Skip to content

Commit

Permalink
change
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 f8495a8 commit 3acf2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +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 -e AWS_PUBLIC_KEY=${{ secrets.AWS_PUBLIC_KEY }} - AWS_SECRET_KEY=${{ secrets.AWS_SECRET_KEY }} -e AWS_RDS_TEST=${{ secrets.AWS_RDS_TEST }} -e JWT_SECRET=${{ 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 3acf2f4

Please sign in to comment.