Skip to content

[pre-commit.ci] pre-commit autoupdate #839

[pre-commit.ci] pre-commit autoupdate

[pre-commit.ci] pre-commit autoupdate #839

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
name: Tests
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install ICE
run: |
pip install -U pip
pip install .[dev]
- name: Run all tests
run: pytest --cov . -x
env:
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
OPENAI_ORG_ID: ${{ secrets.OPENAI_ORG_ID }}
OUGHT_INFERENCE_API_KEY: ${{ secrets.OUGHT_INFERENCE_API_KEY }}