Skip to content

Commit

Permalink
fix: rename yaml files
Browse files Browse the repository at this point in the history
  • Loading branch information
AnsahMohammad committed May 8, 2024
1 parent 56f21dc commit b2ad036
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/server_checks.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Gunicorn Test
name: Server Test

on: [push]

Expand All @@ -21,19 +21,19 @@ jobs:
source .env/bin/activate
pip install -r requirements.txt
- name: test search Engine server
- name: Local Flask server Test
run: |
source .env/bin/activate
python3 phantom.py &
sleep 10
python3 server.py &
sleep 5
curl -f http://localhost:5000/
echo "Flask test completed"
- name: Test Gunicorn server
run: |
source .env/bin/activate
gunicorn -w 4 phantom:app
sleep 10
gunicorn -w 4 server:app
sleep 5
curl -f http://localhost:8000/
echo "Gunicorn test completed"

0 comments on commit b2ad036

Please sign in to comment.