AlvinFok / CloudNative_apc_simulator

the project to simulate the APC scenario
ISC License
0 stars 0 forks source link

Testing code coverge #14

Closed Ksoy closed 2 years ago

Ksoy commented 2 years ago

need more info ref: https://github.com/marketplace/actions/jest-annotations-coverage

joejoe2 commented 2 years ago

recommended to use this https://about.codecov.io/blog/javascript-code-coverage-using-github-actions-and-codecov/

Ksoy commented 2 years ago

@AlvinFok Please follow joejoe2's link to set codecov, since you are the project owner I can't set it

Ksoy commented 2 years ago

能加 codecov badge 到 README 中嗎?

joejoe2 commented 2 years ago

在codecov的設定裡應該會有,加到readme會類似這樣 [![codecov](https://codecov.io/gh/joejoe2/spring-jwt-template/branch/main/graph/badge.svg?token=24IMFJ0D50)](https://codecov.io/gh/joejoe2/spring-jwt-template)

AlvinFok commented 2 years ago

Screenshot 2022-05-30 at 9 33 24 PM

加了現在是unknown是因為設定成是main branch的資料,但main未進行coverage test