Skip to content

exp 23 gpt-3.5 turbo #824

exp 23 gpt-3.5 turbo

exp 23 gpt-3.5 turbo #824

Workflow file for this run

name: test
on:
push:
branches:
- '*'
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
max-parallel: 1
steps:
- uses: actions/checkout@v2
- name: Set up conda environment
uses: conda-incubator/setup-miniconda@v2
with:
activate-environment: my-environment
environment-file: environment.yaml
python-version: ${{ matrix.python-version }}
auto-activate-base: true
- name: Install dependencies
shell: bash -l {0}
run: |
python -m pip install --upgrade pip
if [ -f dev-requirements.txt ]; then pip install -r dev-requirements.txt; fi
- name: Install
shell: bash -l {0}
run: |
pip install .
- name: Check pre-commit
run: |
pip install pre-commit
pre-commit run --all-files || ( git status --short ; git diff ; exit 1 )
- name: Run Test
shell: bash -l {0}
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
SEMANTIC_SCHOLAR_API_KEY: ${{ secrets.SEMANTIC_SCHOLAR_API_KEY }}
run: |
pytest -m "not skip" tests