From 556145906cddea2e723bf489073bfeef638c82c0 Mon Sep 17 00:00:00 2001 From: Thomas Perl Date: Tue, 30 Jul 2024 06:06:20 +0200 Subject: [PATCH] CI: apt-get update before install --- .github/workflows/unit-tests.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 496c9587..2026af70 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -32,7 +32,8 @@ jobs: python -m pip install --upgrade pip python -m pip install --requirement requirements.txt python -m pip install pycodestyle==2.6.0 pytest - sudo apt install -y build-essential libpoppler-cpp-dev pkg-config python3-dev tesseract-ocr + sudo apt-get update + sudo apt-get install -y build-essential libpoppler-cpp-dev pkg-config python3-dev tesseract-ocr python -m pip install pdftotext docutils pygments pytesseract pillow jq - name: Test with pytest run: pytest -v