Skip to content

GitHub PR Test

GitHub PR Test #1

Workflow file for this run

name: GitHub PR Test
on:
pull_request:
types: [opened, synchronize, reopened]
branches:
- main
paths:
- "requirements.txt"
jobs:
test:
runs-on: ubuntu-latest
env:
OPENAI_API_KEY: "123"
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12.6'
cache: 'pip'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
run: |
pytest