generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update test container to override vite server
- Loading branch information
1 parent
cb432d8
commit eb7b7ca
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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] | ||
|