Skip to content

Commit

Permalink
Update test container to override vite server
Browse files Browse the repository at this point in the history
  • Loading branch information
Joshua-Douglas committed Dec 21, 2023
1 parent cb432d8 commit eb7b7ca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/CI-CD-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ jobs:
VITE_HUU_API_BASE_URL: http://backend:8080/api
container:
image: ghcr.io/hackforla/homeuniteus/app:latest-test
options: --entrypoint /bin/bash --no-healthcheck
env:
CYPRESS_BASE_URL: http://frontend:4040
CYPRESS_USE_MOCK: false
Expand All @@ -143,7 +144,9 @@ jobs:
run: |
curl http://backend:8080/api/auth/signup/host -H "accept: application/json" -H "Content-Type: application/json" -d "{\"email\": \"[email protected]\", \"password\": \"alskdf454#Adfa\"}"
- name: Test without mocking
run: npx cypress run
run: |
ls
npx cypress run
deploy:
if: github.event_name == 'workflow_dispatch' && github.event.inputs.deploy
needs: [build-api, build-app, test-api-mock, test-api-nomock, test-app-mock, test-app-nomock]
Expand Down

0 comments on commit eb7b7ca

Please sign in to comment.