Skip to content

fix KrakenRecognizerCommand check #24

fix KrakenRecognizerCommand check

fix KrakenRecognizerCommand check #24

Workflow file for this run

name: Test library
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10"]
steps:
- uses: actions/checkout@v4
with:
lfs: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install libvips libvips-dev
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install pytest pytest-cov coveralls pytest-sugar requests-mock
- name: Creating environments
run: |
python3 -m venv yaltaienv
yaltaienv/bin/pip install YALTAi --extra-index-url https://download.pytorch.org/whl/cpu
python3 -m venv krakenv
krakenv/bin/pip install kraken --extra-index-url https://download.pytorch.org/whl/cpu
- name: Test
run: |
pytest --doctest-modules --cov=app --verbose
# - name: Coveralls Python
# uses: AndreMiras/coveralls-python-action@v20201129