From ed207f2241b08f4bd0a3a5d57562066844226956 Mon Sep 17 00:00:00 2001 From: Andrew Port Date: Fri, 17 Sep 2021 23:16:01 -0700 Subject: [PATCH] create codacity action --- .../workflows/codacy-coverage-reporter.yml | 25 +++++++++++++++++++ README.ipynb | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/codacy-coverage-reporter.yml diff --git a/.github/workflows/codacy-coverage-reporter.yml b/.github/workflows/codacy-coverage-reporter.yml new file mode 100644 index 0000000..9c01587 --- /dev/null +++ b/.github/workflows/codacy-coverage-reporter.yml @@ -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 diff --git a/README.ipynb b/README.ipynb index 518219c..adc04b1 100644 --- a/README.ipynb +++ b/README.ipynb @@ -726,4 +726,4 @@ }, "nbformat": 4, "nbformat_minor": 1 -} +} \ No newline at end of file