diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 2bffb2c2..73b0e9bd 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -23,14 +23,15 @@ jobs: python-version: 3.8 - name: Apt install dependencies - run: | - sudo apt install tesseract-ocr -y - - - name: Install dependencies run: | sudo apt-get update sudo apt install tesseract-ocr sudo apt install libtesseract-dev + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt + - name: Run Pytest run: pytest --disable-warnings .