Skip to content

Commit

Permalink
add sleep to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
nee1k committed Nov 8, 2024
1 parent 06b1857 commit 78bfff7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/patra-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,20 @@ jobs:
run: |
docker compose -f docker-compose.yml up -d --build
- name: Wait for services to start
run: sleep 10

- name: Test Patra
run: |
cd $GITHUB_WORKSPACE/tests
pip install -r requirements.txt
python -m unittest discover -s $GITHUB_WORKSPACE/tests -p "*.py"
- name: Output Docker Logs
if: failure()
run: |
docker compose -f docker-compose.yml logs
- name: Stop and Remove Docker Containers
if: always()
run: |
Expand Down

0 comments on commit 78bfff7

Please sign in to comment.