Skip to content

Commit

Permalink
build: start service for e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
halimath committed Apr 19, 2024
1 parent 05e6c6d commit b9fc709
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ jobs:
- uses: actions/setup-python@v4
with:
python-version: "3.12"

- name: Start app
run: docker compose up -d
working-directory: e2e-tests

- name: Run image
uses: abatilo/actions-poetry@v2
Expand All @@ -66,3 +70,8 @@ jobs:
- name: Run tests
run: poetry run pytest
working-directory: e2e-tests

- name: Stop app
run: docker compose down
working-directory: e2e-tests

5 changes: 5 additions & 0 deletions e2e-tests/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
services:
fate-table:
build: ..
ports:
- 8080:8080

0 comments on commit b9fc709

Please sign in to comment.