Skip to content

Feature: tlm batch api (#149) #1714

Feature: tlm batch api (#149)

Feature: tlm batch api (#149) #1714

Workflow file for this run

name: CI
on: [ push, pull_request ]
jobs:
test:
name: "Test: Python ${{ matrix.python }} on ${{ matrix.os }}"
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python:
- "3.8"
- "3.9"
- "3.10"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: |
pip install --upgrade pip
pip install .
pip install -r tests/requirements_test.txt
- name: Install Cleanlab Studio client
run: pip install -e .
- name: Run tests
run: |
pytest --verbose
typecheck:
name: Type check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.10'
- run: |
python -m pip install --upgrade pip
pip install . # install deps
pip install mypy
mypy --install-types --non-interactive cleanlab_studio
- run: mypy --strict cleanlab_studio