Skip to content

Commit

Permalink
build:provide coverage file
Browse files Browse the repository at this point in the history
  • Loading branch information
NishaSharma14 committed Feb 8, 2024
1 parent 91600a8 commit 64165ff
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/dev-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,19 @@ jobs:
npm install
npm run build
- name: Run Test
run: php artisan test --parallel
run: php artisan test --parallel --cov=./ --cov-report=xml

# Code coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
slug: NFDI4Chem/nmrxiv
directory: ./coverage/reports/
fail_ci_if_error: true
files: /home/runner/work/nmrxiv/nmrxiv/coverage.xml
flags: unittests
name: codecov-umbrella
verbose: true

# setup-build-publish-deploy:
# name: Build & deploy to development
Expand Down

0 comments on commit 64165ff

Please sign in to comment.