Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
  • Loading branch information
crow-fff committed Jul 17, 2024
1 parent a58957c commit 6a568fa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
uses: docker/setup-buildx-action@v1
- name: Build and Run Docker Compose
run: |
docker compose up --build -d
docker compose -f docker-compose.yml -f docker-compose.ci.yml up --build -d
- name: Run pytest
run: |
docker compose exec api pytest -v -s --log-level DEBUG
docker compose -f docker-compose.yml -f docker-compose.ci.yml exec api pytest -v -s --log-level DEBUG
- name: Stop and remove containers
run: |
docker compose down
8 changes: 8 additions & 0 deletions docker-compose.ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
services:
api:
env_file:
- secrets.env.example

ui:
env_file:
- secrets.env.example

0 comments on commit 6a568fa

Please sign in to comment.