Skip to content

Integrationtest spellchecking and textextraction #74

Integrationtest spellchecking and textextraction

Integrationtest spellchecking and textextraction #74

Workflow file for this run

name: Run Project Pipeline
on:
pull_request:
branches:
- main
jobs:
linter:
name: PyLint check
runs-on: ubuntu-latest
steps:
- name: linter checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: pip install -r requirements.txt
- run: pylint ./**/*.py
testing:
name: UnitTest
runs-on: ubuntu-latest
steps:
- name: checkout and testing
uses: actions/checkout@v3
with:
fetch-depth: 0
- run: sudo mkdir /watched
- run: sudo mkdir /watched/spell_checking
- run: sudo mkdir /watched/file_loader
- run: sudo mkdir /watched/text_extraction
- run: sudo mkdir /watched/output
- run: sudo apt-get update
- run: sudo apt-get install poppler-utils
- run: sudo apt-get install libleptonica-dev tesseract-ocr libtesseract-dev python3-pil tesseract-ocr-eng tesseract-ocr-script-latn
- run: pip install -r requirements.txt
- run: "python3 -m unittest discover -s src -p 'test_*.py'"