From 2c4ad7f39790249af2e7f452a61defbead4f3a8d Mon Sep 17 00:00:00 2001 From: Fabio Caccamo Date: Mon, 14 Feb 2022 23:32:28 +0100 Subject: [PATCH] Updated test workflow. --- .github/workflows/test-package.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index 177a564..fd6caa5 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -38,7 +38,7 @@ jobs: - name: Run tests run: | - coverage run --append --source=benedict -m unittest + coverage run --append --source=benedict setup.py test coverage xml -o ./coverage.xml - name: Upload coverage to Codecov diff --git a/tox.ini b/tox.ini index f0f0072..032019c 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ commands = pip install pip --upgrade pip install -r requirements.txt pip install -r requirements-test.txt - coverage run --append --source=benedict -m unittest + coverage run --append --source=benedict setup.py test coverage report -m codecov