Skip to content

Commit

Permalink
Fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ozziest committed Mar 10, 2024
1 parent 9ff36a2 commit 2254a55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,9 @@ jobs:
cp .env.example .env
npm run build
- name: Start the application
run: npm run start
background: true
run: npm run start &
- name: Wait for the server to start
run: sleep 5
- name: Test API endpoint
run: |
response=$(curl -s -o /dev/null -w "%{http_code}" http://localhost:3000/docs)
Expand Down

0 comments on commit 2254a55

Please sign in to comment.