Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
64 changes: 25 additions & 39 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Coverage Reporting
name: Coverage

on:
push:
Expand All @@ -14,8 +14,17 @@ permissions:

jobs:
coverage:
name: Check coverage and report to Coveralls
name: Check and Upload (packages/${{ matrix.package }})
runs-on: ubuntu-24.04
strategy:
matrix:
package:
- builder
- cli
- fs
- logger
- project
- server
steps:

- uses: actions/checkout@v5
Expand All @@ -29,46 +38,23 @@ jobs:
run: npm ci

- name: Check coverage
working-directory: packages/${{ matrix.package }}
run: npm run coverage

- name: Send report to Coveralls for package @ui5/builder
- name: Send parallel reports to Coveralls for all packages
uses: coverallsapp/github-action@v2.3.7
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
with:
file: packages/builder/coverage/lcov.info
base-path: packages/builder
parallel: true
Comment thread
maxreichmann marked this conversation as resolved.
base-path: packages/${{ matrix.package }}
flag-name: ${{ matrix.package }}

- name: Send report to Coveralls for package @ui5/cli
uses: coverallsapp/github-action@v2.3.7
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
with:
file: packages/cli/coverage/lcov.info
base-path: packages/cli

- name: Send report to Coveralls for package @ui5/fs
uses: coverallsapp/github-action@v2.3.7
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
with:
file: packages/fs/coverage/lcov.info
base-path: packages/fs

- name: Send report to Coveralls for package @ui5/logger
uses: coverallsapp/github-action@v2.3.7
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
with:
file: packages/logger/coverage/lcov.info
base-path: packages/logger

- name: Send report to Coveralls for package @ui5/project
uses: coverallsapp/github-action@v2.3.7
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
with:
file: packages/project/coverage/lcov.info
base-path: packages/project

- name: Send report to Coveralls for package @ui5/server
uses: coverallsapp/github-action@v2.3.7
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
with:
file: packages/server/coverage/lcov.info
base-path: packages/server
finish:
needs: coverage
if: ${{ always() }}
runs-on: ubuntu-24.04
steps:
- name: Close parallel build
uses: coverallsapp/github-action@v2.3.7
with:
parallel-finished: true
Comment thread
d3xter666 marked this conversation as resolved.
2 changes: 1 addition & 1 deletion .github/workflows/github-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
run: npm run depcheck

- name: Run unit tests
run: npm run unit
run: npm run coverage

- name: Generate JSDoc documentation
working-directory: internal/documentation
Expand Down