8000 chore: add `cz` to default tox environment list and skip_missing_inte… · python-gitlab/python-gitlab@ba8c052 · GitHub
[go: up one dir, main page]

Skip to content

Commit ba8c052

Browse files
chore: add cz to default tox environment list and skip_missing_interpreters
Add the `cz` (`comittizen`) check by default. Set skip_missing_interpreters = True so that when a user runs tox and doesn't have a specific version of Python it doesn't mark it as an error.
1 parent ef207da commit ba8c052

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
- name: Run tests
5656
env:
5757
TOXENV: ${{ matrix.python.toxenv }}
58-
run: tox
58+
run: tox --skip-missing-interpreters false
5959

6060
functional:
6161
runs-on: ubuntu-20.04

tox.ini

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[tox]
22
minversion = 1.6
33
skipsdist = True
4-
envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort
4+
skip_missing_interpreters = True
5+
envlist = py310,py39,py38,py37,pep8,black,twine-check,mypy,isort,cz
56

67
[testenv]
78
passenv = GITLAB_IMAGE GITLAB_TAG PY_COLORS NO_COLOR FORCE_COLOR

0 commit comments

Comments
 (0)
0