mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2026-01-18 19:01:29 +00:00
wait
This commit is contained in:
parent
74ace1c81f
commit
23da28d710
12
.github/workflows/test-e2e.yml
vendored
12
.github/workflows/test-e2e.yml
vendored
@ -24,13 +24,6 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Wait for webapp to be ready
|
||||
run: |
|
||||
yarn add --no-lockfile wait-on
|
||||
npx wait-on http://localhost:3000 --timeout 120000
|
||||
|
||||
|
||||
- uses: docker/setup-buildx-action@v3
|
||||
|
||||
- name: Build ${{ matrix.service }} image
|
||||
@ -72,6 +65,9 @@ jobs:
|
||||
cd ..
|
||||
yarn install
|
||||
|
||||
- name: Install wait-on (temporary)
|
||||
run: yarn add --no-lockfile wait-on
|
||||
|
||||
- name: Cache cypress
|
||||
uses: actions/cache@v4
|
||||
with:
|
||||
@ -141,10 +137,8 @@ jobs:
|
||||
|
||||
- name: Wait for webapp to be ready
|
||||
run: |
|
||||
yarn add --no-lockfile wait-on
|
||||
npx wait-on http://localhost:3000 --timeout 120000
|
||||
|
||||
|
||||
- name: Full stack tests | run tests
|
||||
id: e2e-tests
|
||||
run: yarn run cypress:run --spec $(cypress/parallel-features.sh ${{ matrix.job }} ${{ env.jobs }} )
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user