mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 10:25:00 +01:00
coverage as single job, do nut run when dependabot (#628)
This commit is contained in:
parent
50f8aa253d
commit
14a03befa0
18
.github/workflows/ci.yml
vendored
18
.github/workflows/ci.yml
vendored
@ -32,8 +32,22 @@ jobs:
|
||||
- run: npm ci
|
||||
- run: npm test
|
||||
|
||||
- name: Run tests & publish code coverage
|
||||
uses: paambaati/codeclimate-action@v2.7.5
|
||||
- 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 }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user