create codacity action
parent
c5f49de5fe
commit
ed207f2241
|
@ -0,0 +1,25 @@
|
|||
name: codacy-coverage-reporter
|
||||
|
||||
on: ["push"]
|
||||
|
||||
jobs:
|
||||
codacy-analysis-cli:
|
||||
name: Codacy Analysis CLI
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@main
|
||||
|
||||
- name: Run Codacy Analysis CLI
|
||||
uses: codacy/codacy-analysis-cli-action@master
|
||||
|
||||
codacy-coverage-reporter:
|
||||
runs-on: ubuntu-latest
|
||||
name: codacy-coverage-reporter
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Run codacy-coverage-reporter
|
||||
uses: codacy/codacy-coverage-reporter-action@v1
|
||||
with:
|
||||
project-token: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
coverage-reports: cobertura.xml
|
Loading…
Reference in New Issue