From 3cd0f3e82b43710e20be001ae5df65ccfb351458 Mon Sep 17 00:00:00 2001 From: Fabian Braun Date: Sun, 10 Nov 2024 16:15:44 +0100 Subject: [PATCH] Run tests through pytest --- .github/workflows/test.yml | 2 +- setup.cfg | 0 tox.ini | 5 ----- 3 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 setup.cfg diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 08745bf1..95bdace5 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,7 +30,7 @@ jobs: python setup.py install - name: Run coverage - run: coverage run runtests.py + run: coverage run -m pytest - name: Upload Coverage to Codecov uses: codecov/codecov-action@v4 diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index e69de29b..00000000 diff --git a/tox.ini b/tox.ini index 799b5c21..76be22b3 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,5 @@ [tox] envlist = - ruff frontend py{310,311,312}-dj{42}-cms{311,41} py{310,311,312}-dj{50}-cms{311,41} @@ -24,10 +23,6 @@ commands = {env:COMMAND:coverage} run runtests.py {env:COMMAND:coverage} report -[testenv:ruff] -deps = ruff -commands = ruff djangocms_text djangocms_text_ckeditor - [testenv:frontend] whitelist_externals = nvm