Skip to content

Update README.md

Update README.md #7

Workflow file for this run

name: Backend Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
run-pytest:
name: Run Pytest
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
cd backend
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest
- name: Run tests with Pytest
run: |
cd backend
pytest