From 5776238b6adb4a7f36fca57762ea460347399279 Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 1 Sep 2021 20:09:41 +0200 Subject: [PATCH] CI tweaks for dependabot * coverage as single job, do not run when dependabot PR --- .github/workflows/ci.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a44a9d7..b3555ee5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,6 +26,20 @@ jobs: - run: npm ci - run: npm test + - uses: actions/upload-artifact@v2 + with: + name: coverage + path: coverage/ + + coverage: + runs-on: ubuntu-latest + needs: [test] + if: ${{ success() && github.actor != 'dependabot[bot]' }} + steps: + - uses: actions/checkout@v2 + - uses: actions/download-artifact@v2 + with: + name: coverage - uses: paambaati/codeclimate-action@v2.7.5 env: CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}