Skip to content

Commit a654ebe

Browse files
committed
running test from the directory bc it is part of this repo
1 parent 3448616 commit a654ebe

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/test.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,18 @@ jobs:
5050
- name: Build and start Docker Compose services
5151
run: bash ./setup_github.sh && docker compose -f docker-compose.yaml up --build -d
5252

53-
- name: Run tests
54-
run: docker compose run test npx cypress run
53+
- name: Run E2E tests
54+
uses: cypress-io/github-action@v6
55+
with:
56+
config: pageLoadTimeout=100000,baseUrl=http://localhost:8089
57+
working-directory: test/
58+
59+
- name: Save artifact
60+
uses: actions/upload-artifact@v4
61+
with:
62+
name: build
63+
if-no-files-found: error
64+
path: build
5565

5666
- name: Tear down Docker Compose services
5767
run: docker-compose down

0 commit comments

Comments
 (0)