create codacity action

hashable-paths
Andrew Port 2021-09-17 23:16:01 -07:00
parent c5f49de5fe
commit ed207f2241
2 changed files with 26 additions and 1 deletions

View File

@ -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

View File

@ -726,4 +726,4 @@
},
"nbformat": 4,
"nbformat_minor": 1
}
}