Skip to content

Classification speedup #113

Classification speedup

Classification speedup #113

Workflow file for this run

name: Linting, formatting, and testing
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.10
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install black pytest
python -m pip install -r requirements.txt --upgrade
python -m pip install --index-url https://test.pypi.org/simple/ idsprites
python -m pip install -e .
- name: Run ruff
uses: chartboost/ruff-action@v1
- name: Run black
run: black --check --verbose --diff ./disco
- name: Run pytest
run: python -m pytest ./tests