Skip to content

Updated download_array to properly read from literal string using StringIO wrapper #2219

Updated download_array to properly read from literal string using StringIO wrapper

Updated download_array to properly read from literal string using StringIO wrapper #2219

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: Cleanlab login
run: cleanlab login --key "${{ secrets.CLEANLAB_STUDIO_CI_API_KEY }}"
- 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