Skip to content

Commit c035131

Browse files
committed
Update test.yml
1 parent 3a5a46c commit c035131

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
run: |
3030
python -m pip install --upgrade pip
3131
pip install -r tests/requirements/${{ matrix.requirements-file }}
32-
python setup.py install
32+
pip install .
3333
3434
- name: Run coverage
3535
run: coverage run runtests.py

tox.ini

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
33
ruff
4-
frontend
54
py{310,311,312}-dj{42}-cms{40,41}
6-
py{310,311,312}-dj{50}-cms{40,41}
5+
py{310,311,312}-dj{50,51}-cms{41}
6+
py{310,311,312}-dj{50,51,52}-cms{50}
77

88
skip_missing_interpreters=True
99

@@ -16,6 +16,7 @@ deps =
1616
dj52: Django>=5.2,<6.0
1717
cms40: git+https://github.com/django-cms/django-cms@release/4.0.1.x
1818
cms41: django-cms>=4.1,<4.2
19+
cms50: django-cms>=5.0,<5.1
1920

2021
commands =
2122
{envpython} --version
@@ -25,11 +26,4 @@ commands =
2526

2627
[testenv:ruff]
2728
deps = ruff
28-
commands = ruff djangocms_text djangocms_text_ckeditor
29-
30-
[testenv:frontend]
31-
whitelist_externals =
32-
nvm
33-
npm install
34-
webpack
35-
commands = webpack
29+
commands = ruff check djangocms_rest

0 commit comments

Comments
 (0)