A community-supported supercharged document management system: scan, index and archive all your documents
Python aiangulararchivingdjangodmsdocument-managementdocument-management-systemllmmachine-learningocroptical-character-recognitionpdf
reorganize test CI, only upload coveralls once
jonaswinklerf1c981338ccc
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.ymlindex 16cf3b64e..439840645 100644--- a/.github/workflows/ci.yml+++ b/.github/workflows/ci.yml@@ -6,31 +6,40 @@ jobs:documentation:runs-on: ubuntu-20.04steps:- - uses: actions/checkout@v2- - name: Set up Python+ -+ name: Checkout+ uses: actions/checkout@v2+ -+ name: Set up Pythonuses: actions/setup-python@v2with:python-version: 3.8- - name: Get pip cache dir+ -+ name: Get pip cache dirid: pip-cacherun: |echo "::set-output name=dir::$(pip cache dir)"- - name: Persistent Github pip cache+ -+ name: Persistent Github pip cacheuses: actions/cache@v2with:path: ${{ steps.pip-cache.outputs.dir }}key: ${{ runner.os }}-pip3.8}- - name: Install dependencies+ -+ name: Install dependenciesrun: |sudo apt-get update -qqsudo apt-get install -qq --no-install-recommends libpoppler-cpp-devpip install --upgrade pipenvpipenv install --system --dev --ignore-pipfile- - name: Make documentation+ -+ name: Make documentationrun: |cd docs/make html- - uses: actions/upload-artifact@v2+ -+ name: Upload artifact+ uses: actions/upload-artifact@v2with:name: documentationpath: docs/_build/html/@@ -41,44 +50,67 @@ jobs:matrix:python-version: ['3.6', '3.7', '3.8']steps:- - uses: actions/checkout@v2- - name: Set up Python+ -+ name: Checkout+ uses: actions/checkout@v2+ -+ name: Set up Pythonuses: actions/setup-python@v2with:python-version: "${{ matrix.python-version }}"- - name: Get pip cache dir+ -+ name: Get pip cache dirid: pip-cacherun: |echo "::set-output name=dir::$(pip cache dir)"- - name: Persistent Github pip cache+ -+ name: Persistent Github pip cacheuses: actions/cache@v2with:path: ${{ steps.pip-cache.outputs.dir }}- key: ${{ runner.os }}-pip${{ matrix.python }}- - name: Tests- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}- # https://github.com/coveralls-clients/coveralls-python/issues/251+ key: ${{ runner.os }}-pip${{ matrix.python-version }}+ -+ name: Prepare testsrun: |sudo apt-get update -qqsudo apt-get install -qq --no-install-recommends libpoppler-cpp-dev unpaper tesseract-ocr imagemagick ghostscript optipngpip install --upgrade pipenvpipenv install --system --dev --ignore-pipfile+ -+ name: Tests+ run: |cd src/pytest+ -+ name: Codestyle+ run: |+ cd src/pycodestyle+ -+ name: Publish coverage results+ if: matrix.python-version == '3.8'+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+ # https://github.com/coveralls-clients/coveralls-python/issues/251+ run: |+ cd src/coveralls --service=githubfrontend:runs-on: ubuntu-20.04steps:- - uses: actions/checkout@v2- - uses: actions/setup-node@v2+ -+ name: Checkout+ uses: actions/checkout@v2+ -+ uses: actions/setup-node@v2with:node-version: '15'- - name: Build frontend+ -+ name: Build frontendrun: ./compile-frontend.sh- - name: Upload artifact+ -+ name: Upload artifactuses: actions/upload-artifact@v2with:name: frontend-compiled@@ -89,6 +121,7 @@ jobs:runs-on: ubuntu-20.04steps:-+ name: Checkoutuses: actions/checkout@v2-name: Set up Python