Skip to content

Commit

Permalink
Run tests through pytest
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Nov 10, 2024
1 parent 97406ab commit 3cd0f3e
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Empty file removed setup.cfg
Empty file.
5 changes: 0 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -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}
Expand All @@ -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
Expand Down

0 comments on commit 3cd0f3e

Please sign in to comment.