From: Trenton H <797416+stumpylog@users.noreply.github.com> Date: Mon, 15 May 2023 19:54:35 +0000 (-0700) Subject: Updates the coverage to upload on push, not pull request, as dev doesn't upload fully... X-Git-Tag: v1.15.0~1^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=548b6352ca771a296d758563e26ab5dee93f151d;p=thirdparty%2Fpaperless-ngx.git Updates the coverage to upload on push, not pull request, as dev doesn't upload fully otherwise --- diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c8afcb261c..5970e3db87 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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