From 471f20718a12a1110c6c657130fb9474f0185772 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Sat, 30 Nov 2024 16:56:35 +0100 Subject: [PATCH] chore: Fix tests to work without `setup test` (#135) * Update test.yml * Update tox.ini --- .github/workflows/test.yml | 2 +- tox.ini | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6cb95b2..73f4c0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -72,7 +72,7 @@ jobs: python setup.py install - name: Run coverage - run: coverage run setup.py test + run: coverage run tests/settings.py continue-on-error: true - name: Upload Coverage to Codecov diff --git a/tox.ini b/tox.ini index a50fa82..070077d 100644 --- a/tox.ini +++ b/tox.ini @@ -18,7 +18,7 @@ deps = commands = {envpython} --version {env:COMMAND:coverage} erase - {env:COMMAND:coverage} run setup.py test + {env:COMMAND:coverage} run tests/settings.py {env:COMMAND:coverage} report ignore_outcome = djmain: True