Skip to content

Version 0.2

Version 0.2 #563

Workflow file for this run

name: checks
on:
push:
branches:
- main
pull_request:
branches:
- "*"
permissions:
actions: write
jobs:
checks:
name: checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: setup python
uses: actions/setup-python@v5
with:
python-version: "3.10"
cache: "pip"
- name: cache models and datasets
uses: actions/cache@v3
with:
path: |
~/.cache/huggingface
key: ${{ runner.os }}-hf-cache-v0.2 # increment this key to invalidate the cache when new models/datasets are added
- name: dependencies
run: |
python -m pip install --upgrade pip
pip install -e .[dev]
- name: black
run: black --check .
- name: isort
run: isort --check .
- name: pytest
run: pytest