Skip to content

test workflow

test workflow #1

Workflow file for this run

name: Python Unittest
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run tests
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
TEST_SCHEMA_API_KEY: ${{ secrets.TEST_SCHEMA_API_KEY }}
run: |
python run_tests.py