File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 8080 permissions :
8181 contents : read
8282 # Only run coverage for PRs from the same repository (not forks)
83- # This ensures secrets are available for Codecov and Codacy
83+ # This ensures secrets are available for Codecov
8484 if : github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository
85- strategy :
86- matrix :
87- service : [codecov, codacy]
8885 steps :
8986 - name : Checkout repository
9087 uses : actions/checkout@v6.0.2
9491 with :
9592 name : coverage.xml
9693
97- - name : Upload coverage report to ${{ matrix.service }}
98- if : ${{ matrix.service == 'codecov' }}
94+ - name : Upload coverage report to Codecov
9995 uses : codecov/codecov-action@v5.5.2
10096 with :
10197 token : ${{ secrets.CODECOV_TOKEN }}
10298 files : coverage.xml
103-
104- - name : Upload coverage report to ${{ matrix.service }}
105- if : ${{ matrix.service == 'codacy' }}
106- uses : codacy/codacy-coverage-reporter-action@v1.3.0
107- with :
108- project-token : ${{ secrets.CODACY_PROJECT_TOKEN }}
109- coverage-reports : coverage.xml
Original file line number Diff line number Diff line change 55[ ![ Python CI] ( https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-ci.yml/badge.svg )] ( https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-ci.yml )
66[ ![ Python CD] ( https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-cd.yml/badge.svg )] ( https://github.com/nanotaboada/python-samples-fastapi-restful/actions/workflows/python-cd.yml )
77[ ![ Quality Gate Status] ( https://sonarcloud.io/api/project_badges/measure?project=nanotaboada_python-samples-fastapi-restful&metric=alert_status )] ( https://sonarcloud.io/summary/new_code?id=nanotaboada_python-samples-fastapi-restful )
8- [ ![ Codacy Badge] ( https://app.codacy.com/project/badge/Grade/8f9bab37f6f444c895a8b25d5df772fc )] ( https://app.codacy.com/gh/nanotaboada/python-samples-fastapi-restful/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade )
98[ ![ codecov] ( https://codecov.io/gh/nanotaboada/python-samples-fastapi-restful/branch/master/graph/badge.svg?token=A1WNZPRQEJ )] ( https://codecov.io/gh/nanotaboada/python-samples-fastapi-restful )
109[ ![ CodeFactor] ( https://www.codefactor.io/repository/github/nanotaboada/python-samples-fastapi-restful/badge )] ( https://www.codefactor.io/repository/github/nanotaboada/python-samples-fastapi-restful )
1110[ ![ Code style: black] ( https://img.shields.io/badge/code%20style-black-000000.svg )] ( https://github.com/psf/black )
You can’t perform that action at this time.
0 commit comments