Skip to content

Merge branch 'ucbepic:main' into main #30

Merge branch 'ucbepic:main' into main

Merge branch 'ucbepic:main' into main #30

Workflow file for this run

name: ci
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry
uses: snok/install-poetry@v1
- name: Copy environment file
run: cp .env.sample .env
- name: Install dependencies
run: make install
- name: Run pytest
run: make tests-basic