diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index f2b0c9a..d5e9122 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.11"] steps: - uses: actions/checkout@v3 @@ -30,4 +30,9 @@ jobs: - name: Testing with pytest and measuring coverage run: | coverage run --source src -m pytest . - codecov \ No newline at end of file + coverage xml + - name: Reporting coverage to Codacy + uses: codacy/codacy-coverage-reporter-action@0.2.0 + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: coverage.xml diff --git a/pyproject.toml b/pyproject.toml index be512cf..4a2591d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -42,7 +42,7 @@ dependencies = [ ] [project.optional-dependencies] -test = ["pytest", "codecov", "coverage"] +test = ["pytest", "coverage"] models = ["tomotopy>=0.8.0", "gensim", "bitermplus"] [tool.setuptools.dynamic]