Add more documentation #687
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: [pull_request] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
environment: secrets | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: black linter | |
uses: psf/black@stable | |
with: | |
options: "--check --diff --line-length 120" | |
- name: isort | |
run: | | |
pip install isort | |
isort --profile black --check-only . | |
- name: unit tests | |
env: | |
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }} | |
run: | | |
python3 -m pip install --upgrade pip | |
pip install -e . | |
pytest |