Skip to content

Commit

Permalink
Fix(CI): Add Py3.13 tests to CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
onegreyonewhite committed Nov 8, 2024
1 parent b9e465f commit 92be11a
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ functional_test:
- TOX_ENVS:
- py310-django51-install
- TOX_ENVS:
- py312-django51-coverage
- py313-django51-coverage

js_tests:
<<: *branch_js_tests
Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = flake,mypy,pylint,bandit,py312-django51-coverage,py310-django51-install,builddoc
envlist = flake,mypy,pylint,bandit,py313-django51-coverage,py310-django51-install,builddoc
skipsdist = True
allowlist_externals =
rm
Expand All @@ -21,6 +21,7 @@ setenv =
coverage: SETUPTOOLS_ENABLE_FEATURES = legacy-editable
COVRC = ../pyproject.toml
EXECUTE_ARGS = test_proj test -v 2 --failfast --parallel auto
PYTHON_JIT = 1
CCACHE_DIR = {envdir}/.ccache
TEST_PROJ_LOG_LEVEL = DEBUG
TEST_PROJ_DB_TYPE = mysql
Expand Down
2 changes: 1 addition & 1 deletion tox_build.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py310-build,py31{1,2}-wheel,auditwheel
envlist = py310-build,py31{1,2,3}-wheel,auditwheel
skipsdist = True

[testenv]
Expand Down
10 changes: 5 additions & 5 deletions vstutils/api/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,15 @@ def get_description(self, path, method):
return str(submethod.__doc__).strip() # nocv
if method == 'GET' and '{' not in path[:-1].split('/')[-1]:
action = 'list'
elif method == 'POST':
elif method == 'POST': # nocv
action = 'create'
elif method == 'GET':
elif method == 'GET': # nocv
action = 'retrieve'
elif method == 'PUT':
elif method == 'PUT': # nocv
action = 'update'
elif method == 'PATCH':
elif method == 'PATCH': # nocv
action = 'partial_update'
elif method == 'DELETE':
elif method == 'DELETE': # nocv
action = 'destroy'
method_view_obj.action = action
if method_view_obj.schema is None:
Expand Down

0 comments on commit 92be11a

Please sign in to comment.