Skip to content

Commit 554f84b

Browse files
committed
ci: Add flag-names to Coveralls upload (for package-specific badges)
1 parent 3857dac commit 554f84b

File tree

2 files changed

+12
-8
lines changed

2 files changed

+12
-8
lines changed

.github/workflows/coverage.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,39 +37,44 @@ jobs:
3737
with:
3838
file: packages/builder/coverage/lcov.info
3939
base-path: packages/builder
40+
flag-name: builder
4041

4142
- name: Send report to Coveralls for package @ui5/cli
4243
uses: coverallsapp/[email protected]
4344
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
4445
with:
4546
file: packages/cli/coverage/lcov.info
4647
base-path: packages/cli
48+
flag-name: cli
4749

4850
- name: Send report to Coveralls for package @ui5/fs
4951
uses: coverallsapp/[email protected]
5052
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
5153
with:
5254
file: packages/fs/coverage/lcov.info
5355
base-path: packages/fs
56+
flag-name: fs
5457

5558
- name: Send report to Coveralls for package @ui5/logger
5659
uses: coverallsapp/[email protected]
5760
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
5861
with:
5962
file: packages/logger/coverage/lcov.info
6063
base-path: packages/logger
64+
flag-name: logger
6165

6266
- name: Send report to Coveralls for package @ui5/project
6367
uses: coverallsapp/[email protected]
6468
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
6569
with:
6670
file: packages/project/coverage/lcov.info
6771
base-path: packages/project
72+
flag-name: project
6873

6974
- name: Send report to Coveralls for package @ui5/server
7075
uses: coverallsapp/[email protected]
7176
continue-on-error: true # Do not fail the job if coverage reporting fails (e.g. service is down)
7277
with:
7378
file: packages/server/coverage/lcov.info
7479
base-path: packages/server
75-
80+
flag-name: server

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,12 @@ Note that previous versions (up to v4) are maintained in [dedicated repositories
3333
## Packages
3434

3535
UI5 CLI consists of multiple packages managed within this monorepo:
36-
37-
- [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-cli/badge.svg)](https://coveralls.io/github/SAP/ui5-cli) **packages/cli**: UI5 Command Line Interface, utilizing all of the following packages
38-
- [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-project/badge.svg)](https://coveralls.io/github/SAP/ui5-project) **packages/project**: Modules for building a UI5 project's dependency tree, including configuration
39-
- [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-server/badge.svg)](https://coveralls.io/github/SAP/ui5-server) **packages/server**: Modules for running a UI5 development server
40-
- [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-builder/badge.svg)](https://coveralls.io/github/SAP/ui5-builder) **packages/builder**: Modules for building UI5 projects
41-
- [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-fs/badge.svg)](https://coveralls.io/github/SAP/ui5-fs) **packages/fs**: UI5 specific file system abstraction
42-
- [![Coverage Status](https://coveralls.io/repos/github/SAP/ui5-logger/badge.svg)](https://coveralls.io/github/SAP/ui5-logger) **packages/logger**: Internal logging module
36+
- [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=cli)](https://coveralls.io/github/UI5/cli) **packages/cli**: UI5 Command Line Interface, utilizing all of the following packages
37+
- [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=project)](https://coveralls.io/github/UI5/cli) **packages/project**: Modules for building a UI5 project's dependency tree, including configuration
38+
- [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=server)](https://coveralls.io/github/UI5/cli) **packages/server**: Modules for running a UI5 development server
39+
- [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=builder)](https://coveralls.io/github/UI5/cli) **packages/builder**: Modules for building UI5 projects
40+
- [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=fs)](https://coveralls.io/github/UI5/cli) **packages/fs**: UI5 specific file system abstraction
41+
- [![Coverage Status](https://coveralls.io/repos/github/UI5/cli/badge.svg?flag=logger)](https://coveralls.io/github/UI5/cli) **packages/logger**: Internal logging module
4342

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

0 commit comments

Comments
 (0)