Skip to content

Commit c3b4d8f

Browse files
committed
ci: Enable all coverage uploads + Display total coverage badge
1 parent 9919b12 commit c3b4d8f

File tree

2 files changed

+7
-25
lines changed

2 files changed

+7
-25
lines changed

.github/workflows/coverage.yml

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -37,55 +37,38 @@ jobs:
3737
with:
3838
file: packages/builder/coverage/lcov.info
3939
base-path: packages/builder
40-
flag-name: builder
41-
parallel: true
4240

4341
- name: Send report to Coveralls for package @ui5/cli
4442
uses: coverallsapp/[email protected]
4543
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
4644
with:
4745
file: packages/cli/coverage/lcov.info
4846
base-path: packages/cli
49-
flag-name: cli
50-
parallel: true
5147

5248
- name: Send report to Coveralls for package @ui5/fs
5349
uses: coverallsapp/[email protected]
5450
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
5551
with:
5652
file: packages/fs/coverage/lcov.info
5753
base-path: packages/fs
58-
flag-name: fs
59-
parallel: true
6054

6155
- name: Send report to Coveralls for package @ui5/logger
6256
uses: coverallsapp/[email protected]
6357
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
6458
with:
6559
file: packages/logger/coverage/lcov.info
6660
base-path: packages/logger
67-
flag-name: logger
68-
parallel: true
6961

7062
- name: Send report to Coveralls for package @ui5/project
7163
uses: coverallsapp/[email protected]
7264
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
7365
with:
7466
file: packages/project/coverage/lcov.info
7567
base-path: packages/project
76-
flag-name: project
77-
parallel: true
7868

7969
- name: Send report to Coveralls for package @ui5/server
8070
uses: coverallsapp/[email protected]
8171
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
8272
with:
8373
file: packages/server/coverage/lcov.info
8474
base-path: packages/server
85-
flag-name: server
86-
parallel: true
87-
88-
- name: Finalize Coveralls
89-
uses: coverallsapp/[email protected]
90-
with:
91-
parallel-finished: true

README.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
[![REUSE status](https://api.reuse.software/badge/github.com/UI5/cli)](https://api.reuse.software/info/github.com/UI5/cli)
88
[![OpenUI5 Community Slack (#tooling channel)](https://img.shields.io/badge/slack-join-44cc11.svg)](https://ui5-slack-invite.cfapps.eu10.hana.ondemand.com)
99
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg)](CODE_OF_CONDUCT.md)
10+
[![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg)](https://coveralls.io/github/UI5/cli)
1011

1112
This repository contains the current **development state** of the upcoming UI5 CLI v5 release.
1213
Note that previous versions (up to v4) are maintained in [dedicated repositories](https://github.com/UI5/cli/tree/v4?tab=readme-ov-file#modules).
@@ -34,14 +35,12 @@ Note that previous versions (up to v4) are maintained in [dedicated repositories
3435

3536
UI5 CLI consists of multiple packages managed within this monorepo:
3637

37-
| Package | NPM | Coverage | Description |
38-
| - | - | - | - |
39-
| **packages/cli** | [![NPM Package](https://img.shields.io/npm/v/@ui5/cli.svg)](https://npmjs.com/package/@ui5/cli) | [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=cli)](https://coveralls.io/github/UI5/cli) | UI5 Command Line Interface, utilizing all of the following packages |
40-
| **packages/project** | [![NPM Package](https://img.shields.io/npm/v/@ui5/project.svg)](https://npmjs.com/package/@ui5/project) | [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=project)](https://coveralls.io/github/UI5/cli) | Modules for building a UI5 project's dependency tree, including configuration |
41-
| **packages/server** | [![NPM Package](https://img.shields.io/npm/v/@ui5/server.svg)](https://npmjs.com/package/@ui5/server) | [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=server)](https://coveralls.io/github/UI5/cli) | Modules for running a UI5 development server |
42-
| **packages/builder** | [![NPM Package](https://img.shields.io/npm/v/@ui5/builder.svg)](https://npmjs.com/package/@ui5/builder) | [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=builder)](https://coveralls.io/github/UI5/cli) | Modules for building UI5 projects |
43-
| **packages/fs** | [![NPM Package](https://img.shields.io/npm/v/@ui5/fs.svg)](https://npmjs.com/package/@ui5/fs) | [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=fs)](https://coveralls.io/github/UI5/cli) | UI5 specific file system abstraction |
44-
| **packages/logger** | [![NPM Package](https://img.shields.io/npm/v/@ui5/logger.svg)](https://npmjs.com/package/@ui5/logger) | [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=logger)](https://coveralls.io/github/UI5/cli) | Internal logging module |
38+
- **packages/cli**: UI5 Command Line Interface, utilizing all of the following packages
39+
- **packages/project**: Modules for building a UI5 project's dependency tree, including configuration
40+
- **packages/server**: Modules for running a UI5 development server
41+
- **packages/builder**: Modules for building UI5 projects
42+
- **packages/fs**: UI5 specific file system abstraction
43+
- **packages/logger**: Internal logging module
4544

4645
**Usage Overview** *(arrows indicate dependencies)*
4746
![Module Overview](./packages/documentation/docs/images/Module_overview.png)

0 commit comments

Comments
 (0)