Skip to content

Commit

Permalink
ci: run tests on oldest py3.6 and last 2 py3.9 and py3.8
Browse files Browse the repository at this point in the history
  • Loading branch information
woile authored and Lee-W committed Aug 2, 2021
1 parent d5eeef6 commit a074a79
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ on: [pull_request]
jobs:
python-check:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.6, 3.8, 3.9]
platform: [ubuntu-latest, macos-latest, windows-latest]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ flake8 = "^3.6"
pytest-cov = "^2.6"
pytest-mock = "^2.0"
codecov = "^2.0"
mypy = "^0.770"
mypy = "0.910"
mkdocs = "^1.0"
mkdocs-material = "^4.1"
isort = "^5.7.0"
Expand All @@ -72,6 +72,8 @@ pydocstyle = "^5.0.2"
pre-commit = "^2.6.0"
pytest-regressions = "^2.2.0"
pytest-freezegun = "^0.4.2"
types-PyYAML = "^5.4.3"
types-termcolor = "^0.1.1"

[tool.poetry.scripts]
cz = "commitizen.cli:main"
Expand Down
4 changes: 2 additions & 2 deletions tests/commands/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ def config():
return _config


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


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

0 comments on commit a074a79

Please sign in to comment.