Skip to content

[Sweep Rules] Fix TODO in coding_agent.py #71

[Sweep Rules] Fix TODO in coding_agent.py

[Sweep Rules] Fix TODO in coding_agent.py #71

Workflow file for this run

name: Run Pytest
on:
pull_request:
branches:
- main # or the name of your default branch
- dev
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.10.4 # or any othe
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r backend/requirements.txt
- name: Run pytest
run: cd backend && python -m pytest
env:
PROJECT_DIRECTORY: ${{ github.workspace }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} # Add this line