diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index f2a0d81..6126bcd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -59,6 +59,11 @@ jobs: uses: codecov/codecov-action@v3 env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + - name: Run codacy-coverage-reporter + uses: codacy/codacy-coverage-reporter-action@v1 + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: coverage.xml examples: name: examples diff --git a/README.md b/README.md index 9d4f26c..ee46552 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,9 @@ # Ramsey -[![status](http://www.repostatus.org/badges/latest/concept.svg)](http://www.repostatus.org/#concept) +[![active](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [![ci](https://github.com/dirmeier/ramsey/actions/workflows/ci.yaml/badge.svg)](https://github.com/dirmeier/ramsey/actions/workflows/ci.yaml) [![codecov](https://codecov.io/gh/ramsey-devs/ramsey/branch/main/graph/badge.svg?token=dn1xNBSalZ)](https://codecov.io/gh/ramsey-devs/ramsey) -[![codacy](https://app.codacy.com/project/badge/Grade/ed13460537fd4ac099c8534b1d9a0202)](https://www.codacy.com/gh/ramsey-devs/ramsey/dashboard?utm_source=github.com&utm_medium=referral&utm_content=ramsey-devs/ramsey&utm_campaign=Badge_Grade) +[![Codacy quality](https://app.codacy.com/project/badge/Grade/ed13460537fd4ac099c8534b1d9a0202)](https://app.codacy.com/gh/ramsey-devs/ramsey/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![documentation](https://readthedocs.org/projects/ramsey/badge/?version=latest)](https://ramsey.readthedocs.io/en/latest/?badge=latest) [![version](https://img.shields.io/pypi/v/ramsey.svg?colorB=black&style=flat)](https://pypi.org/project/ramsey/) diff --git a/tox.ini b/tox.ini index 5cc807e..b6df529 100644 --- a/tox.ini +++ b/tox.ini @@ -19,11 +19,12 @@ commands = [testenv:lints] skip_install = true commands_pre = - pip install pylint bandit flake8 + pip install pylint bandit flake8 ruff pip install -e . commands = bandit ramsey pylint ramsey + ruff ramsey [testenv:types]