Skip to content

Commit a074a79

Browse files
woileLee-W
authored andcommitted
ci: run tests on oldest py3.6 and last 2 py3.9 and py3.8
1 parent d5eeef6 commit a074a79

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/pythonpackage.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ on: [pull_request]
55
jobs:
66
python-check:
77
strategy:
8-
max-parallel: 4
98
matrix:
10-
python-version: [3.6, 3.7, 3.8]
9+
python-version: [3.6, 3.8, 3.9]
1110
platform: [ubuntu-latest, macos-latest, windows-latest]
1211
runs-on: ${{ matrix.platform }}
1312
steps:

pyproject.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ flake8 = "^3.6"
6363
pytest-cov = "^2.6"
6464
pytest-mock = "^2.0"
6565
codecov = "^2.0"
66-
mypy = "^0.770"
66+
mypy = "0.910"
6767
mkdocs = "^1.0"
6868
mkdocs-material = "^4.1"
6969
isort = "^5.7.0"
@@ -72,6 +72,8 @@ pydocstyle = "^5.0.2"
7272
pre-commit = "^2.6.0"
7373
pytest-regressions = "^2.2.0"
7474
pytest-freezegun = "^0.4.2"
75+
types-PyYAML = "^5.4.3"
76+
types-termcolor = "^0.1.1"
7577

7678
[tool.poetry.scripts]
7779
cz = "commitizen.cli:main"

tests/commands/conftest.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ def config():
1313
return _config
1414

1515

16-
@pytest.fixture()
16+
@pytest.fixture() # type: ignore
1717
def changelog_path() -> str:
1818
return os.path.join(os.getcwd(), "CHANGELOG.md")
1919

2020

21-
@pytest.fixture()
21+
@pytest.fixture() # type: ignore
2222
def config_path() -> str:
2323
return os.path.join(os.getcwd(), "pyproject.toml")

0 commit comments

Comments
 (0)