Skip to content

Checkpoint a bunch of work #58

Checkpoint a bunch of work

Checkpoint a bunch of work #58

Workflow file for this run

name: PR Checks
on:
pull_request:
types: [opened, synchronize, reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
pre-commit-and-tests:
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11" ]
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
run: |
curl -sSL https://install.python-poetry.org | python - -y
- name: Update PATH
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: Install dependencies
run: poetry install
- name: Run pre-commit
uses: pre-commit/[email protected]
- name: Run tests
run: poetry run pytest
env:
OPENAI_API_KEY: ""