Skip to content

Black fix CI

Black fix CI #311

Workflow file for this run

name: Code Checks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
if: ${{ always() }}
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.9", "3.11"]
steps:
- uses: actions/checkout@v2
- name: Install uv
uses: astral-sh/setup-uv@v2
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Set up venv
run: uv venv
- name: Install Base Dependencies
run: uv pip install -e '.[dev]'
- name: Prep CI tests
run: |
mkdir -p ~/.cache/bpemb/en
mv tests/data/en.wiki.bpe.vs1000.d25.w2v.bin ~/.cache/bpemb/en
mv tests/data/en.wiki.bpe.vs1000.model ~/.cache/bpemb/en
- name: Unittest
run: uv run pytest -n auto -vv