Integrationtest spellchecking and textextraction #71
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: pip install -r requirements.txt | |
- run: "python3 -m unittest discover -s src -p 'test_*.py'" |