From fdedbc4d91625bbe6bd072d277298cc4820a3dea Mon Sep 17 00:00:00 2001 From: Nicolas Tessore Date: Fri, 30 Aug 2024 21:36:02 +0100 Subject: [PATCH] configuration --- .github/workflows/test.yml | 5 ++--- pyproject.toml | 6 ------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a577c50..6b6b6f2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -47,9 +47,8 @@ jobs: cache: "pip" cache-dependency-path: "pyproject.toml" - run: pip install -c .github/test-constraints.txt '.[test]' - - run: pytest --cov --cov-report=lcov - - name: Coverage - uses: coverallsapp/github-action@v2 + - run: pytest --cov=heracles --cov-report=lcov + - uses: coverallsapp/github-action@v2 build: name: Build runs-on: ubuntu-latest diff --git a/pyproject.toml b/pyproject.toml index eb959ce..51dff07 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,12 +59,6 @@ Documentation = "https://heracles.readthedocs.io/" Homepage = "https://github.com/heracles-ec/heracles" Issues = "https://github.com/heracles-ec/heracles/issues" -[tool.coverage] -report = {skip_covered = true, sort = "cover"} -run = {branch = true, parallel = true, source = [ - "heracles", -]} - [tool.hatch] build.hooks.vcs.version-file = "heracles/_version.py" version.source = "vcs"