Skip to content

Commit

Permalink
services
Browse files Browse the repository at this point in the history
  • Loading branch information
petrjasek committed Apr 8, 2024
1 parent df2cb9a commit 2dbfc5a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ jobs:
npm install
npm build
docker compose up -d
./ci-wait-for-services.sh
working-directory: ./e2e
- run: ./scripts/ci-wait-for-services.sh
- name: E2E Suite A
if: matrix.e2e == 'a'
working-directory: ./e2e
Expand Down
12 changes: 9 additions & 3 deletions .github/workflows/ci-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ jobs:
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
run: |
./scripts/ci-start-services.sh
./scripts/ci-wait-for-services.sh
- name: Pytest
run: pytest --log-level=ERROR --disable-warnings server/planning
server-behave:
Expand All @@ -42,7 +44,9 @@ jobs:
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
run: |
./scripts/ci-start-services.sh
./scripts/ci-wait-for-services.sh
- name: Behave
working-directory: ./server
run: behave --format progress2 --logging-level=ERROR
Expand All @@ -66,6 +70,8 @@ jobs:
- name: Setup Environment
run: ./scripts/ci-install.sh
- name: Start Services
run: ./scripts/ci-start-services.sh
run: |
./scripts/ci-start-services.sh
./scripts/ci-wait-for-services.sh
- name: Pytest
run: pytest --log-level=ERROR --disable-warnings server/tests/prod_api
1 change: 0 additions & 1 deletion scripts/ci-start-services.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env bash

docker compose -f ./e2e/docker-compose.yml up elastic redis mongo -d
./ci-wait-for-services.sh

0 comments on commit 2dbfc5a

Please sign in to comment.