]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Updates the coverage to upload on push, not pull request, as dev doesn't upload fully...
authorTrenton H <797416+stumpylog@users.noreply.github.com>
Mon, 15 May 2023 19:54:35 +0000 (12:54 -0700)
committerTrenton H <797416+stumpylog@users.noreply.github.com>
Mon, 15 May 2023 19:54:35 +0000 (12:54 -0700)
.github/workflows/ci.yml

index c8afcb261c219a799345a79ff513855f426d7343..5970e3db87fa0418967a297fde0289009daa9958 100644 (file)
@@ -161,7 +161,7 @@ jobs:
           pipenv --python ${{ steps.setup-python.outputs.python-version }} run pytest -ra
       -
         name: Upload coverage to Codecov
-        if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION && github.event_name == 'pull_request'}}
+        if: ${{ matrix.python-version == env.DEFAULT_PYTHON_VERSION && github.event_name == 'push'}}
         uses: codecov/codecov-action@v3
         with:
           # not required for public repos, but intermittently fails otherwise