Skip to content

Commit

Permalink
Update link of badge in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcellino-Palerme committed Sep 30, 2024
1 parent 5d76b48 commit 2086b26
Show file tree
Hide file tree
Showing 2 changed files with 63 additions and 11 deletions.
61 changes: 61 additions & 0 deletions .github/workflows/test_unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,3 +137,64 @@ jobs:
git add badges/*
git commit -m "Update test badges"
git push
- uses: wow-actions/add-badges@v1
env:
repo_url: ${{ github.repository }}

with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
center: true
badges: |
[
[
{
"badge": "${{ github.repository }}/badges/tests-result.svg",
"alt": "Result of tests",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"badge": "${{ github.repository }}/badges/tests-total.svg",
"alt": "Total tests",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"badge": "${{ github.repository }}/badges/tests-passed.svg",
"alt": "Passed tests",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"badge": "${{ github.repository }}/badges/tests-failed.svg",
"alt": "Failed tests",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"badge": "${{ github.repository }}/badges/tests-todo.svg",
"alt": "Todo tests",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
],
[
{
"badge": "${{ github.repository }}/badges/coverage_total.svg",
"alt": "Coverage Total",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"badge": "${{ github.repository }}/badges/coverage_lines.svg",
"alt": "Coverage Lines",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"badge": "${{ github.repository }}/badges/coverage_functions.svg",
"alt": "Coverage Functions",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
},
{
"badge": "${{ github.repository }}/badges/coverage_branches.svg",
"alt": "Coverage Branches",
"link": "${{ github.repository }}/actions/runs/${{ github.run_id }}"
}
]
]
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,8 @@ SPDX-License-Identifier: MIT
# EP2M2 : Metabolomic Target Analyzes Manager.

## Tests
[![result](./badges/tests-result.svg)
![total](./badges/tests-total.svg)
![passed](./badges/tests-passed.svg)
![failed](./badges/tests-failed.svg)
![todo](./badges/tests-todo.svg)](https://github.com/p2m2/EP2M2/actions/workflows/test_unit.yml)

![Branches](./badges/coverage-branches.svg)
![Functions](./badges/coverage-functions.svg)
![Lines](./badges/coverage-lines.svg)
![Statements](./badges/coverage-statements.svg)
![Coverage total](./badges/coverage-total.svg)
<!-- [START BADGES] -->
<!-- [END BADGES] -->
## Features
- Extraction of formats files of the metabolomics data acquisition devices of the P2M2 platform
- gcms
Expand Down

0 comments on commit 2086b26

Please sign in to comment.