diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 358b874..9a56f8e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -50,11 +50,7 @@ jobs: poetry run flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics - name: Test with pytest - run: poetry run pytest --cov=./ + run: poetry run python -m pytest --cov=. - - name: Upload coverage data to coveralls.io - run: | - pipx install coveralls - coveralls --service=github - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Coveralls + uses: coverallsapp/github-action@v2 diff --git a/pyproject.toml b/pyproject.toml index df4cdde..41ac02b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,9 +12,8 @@ python = "^3.8" [tool.poetry.group.dev.dependencies] pytest = "^7.4.3" pytest-cov = "^4.1.0" - -flake8 = {version = "^6.1.0", python = "^3.8.1"} coverage = {extras = ["toml"], version = "^7.3.2"} +flake8 = {version = "^6.1.0", python = "^3.8.1"} [build-system] requires = ["poetry-core"]