Skip to content

Improved paragraph algorithm #350

Improved paragraph algorithm

Improved paragraph algorithm #350

Workflow file for this run

name: Tests
on:
push:
branches:
- master
pull_request:
branches:
- master
- dev
jobs:
Test:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- name: install python3
uses: actions/setup-python@v2
with:
python-version: 3.11
- name: install dependencies
run: |
python -m pip install --upgrade pip==24.0
pip install pytest
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install ./
pip list
- name: download models
run: |
python -m spacy download en_core_web_md
pip install -r requirements.txt
- name: run pytest
run: pytest ./tests/*
- name: Lint with Ruff
run: |
pip install ruff
ruff --output-format=github .
continue-on-error: true