https://github.com/aelfproject/dotnet-ci-action
Generate badges of test results and code coverage for dotnet projects.
https://github.com/aelfproject/dotnet-ci-action
Last synced: about 1 month ago
JSON representation
Generate badges of test results and code coverage for dotnet projects.
- Host: GitHub
- URL: https://github.com/aelfproject/dotnet-ci-action
- Owner: AElfProject
- Created: 2024-07-30T02:15:24.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-01-27T07:45:24.000Z (over 1 year ago)
- Last Synced: 2025-01-27T08:28:55.302Z (over 1 year ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotnet-ci-action
## Inputs
- commit-token: A Github Token with `repos` scope.
- codecov-token: A Codecov Token to upload codecov.
- branch-name: A branch to store test results files.
- solution-name: The name of the solution(sln) file.
## What did this action do
1. Build solution
2. Run all tests
3. Upload codecov
4. Create or update test results files of specific branch for tests badges
## Badge url
Will be like:
```
https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/{YourUserName}/{YourProjectName}/{NameOfYourBranchToStoreTestResults}/{NameOfYourBranchToShowBadge}-test-results.json
```
For instance:
