Skip to content

Optimize search performance and add stress test #1

Optimize search performance and add stress test

Optimize search performance and add stress test #1

Workflow file for this run

name: Run Tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
# Step 1: Checkout the repository code
- name: Checkout code
uses: actions/checkout@v3
# Step 2: Setup Python environment
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.10
# Step 3: Install dependencies from requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
# Step 4: Run unit tests using pytest
- name: Run unit tests
run: pytest tests