A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
Updates GHA to use the setup-python pipenv caching
Trenton Holmes58066443de62
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 501a80adf..abf7a0ce0 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -106,34 +106,30 @@ jobs:-name: Checkoutuses: actions/checkout@v2+ -+ name: Install pipenv+ run: pip install pipenv-name: Set up Pythonuses: actions/setup-python@v2with:python-version: "${{ matrix.python-version }}"+ cache: "pipenv"-- name: Get pip cache dir- id: pip-cache- run: |- echo "::set-output name=dir::$(pip cache dir)"- -- name: Persistent Github pip cache- uses: actions/cache@v2- with:- path: ${{ steps.pip-cache.outputs.dir }}- key: ${{ runner.os }}-pip${{ matrix.python-version }}- -- name: Install dependencies+ name: Install system dependenciesrun: |sudo apt-get update -qqsudo apt-get install -qq --no-install-recommends unpaper tesseract-ocr imagemagick ghostscript optipng+ -+ name: Install Python dependencies+ run: |pip install --upgrade pipenv- pipenv install --system --dev --ignore-pipfile+ pipenv install --dev --ignore-pipfile-name: Testsrun: |cd src/- pytest+ pipenv run pytest-name: Publish coverage resultsif: matrix.python-version == '3.9'@@ -325,4 +321,4 @@ jobs:upload_url: ${{ steps.create_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-stepsasset_path: ./paperless-ngx.tar.xzasset_name: paperless-ngx-${{ steps.get_version.outputs.version }}.tar.xz- asset_content_type: application/x-xz\ No newline at end of file+ asset_content_type: application/x-xz