Skip to content

feat: made indexing based on idf requirement #20

feat: made indexing based on idf requirement

feat: made indexing based on idf requirement #20

Workflow file for this run

name: Server Test
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies & build
run: |
python -m venv .env
source .env/bin/activate
pip install -r requirements.txt
bash build.sh 6
- name: Local Flask server Test
run: |
source .env/bin/activate
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 server:app &
sleep 5
curl -f http://localhost:8000/
echo "Gunicorn test completed"