Skip to content

Update workflow to use secrets giving access to API Keys. #2

Update workflow to use secrets giving access to API Keys.

Update workflow to use secrets giving access to API Keys. #2

Workflow file for this run

name: Test
on: [push, pull_request]
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.9
- name: Install dependencies
run: pip install -r requirements.txt
- name: Run tests
run: pytest