Skip to content

Commit

Permalink
Version 3.1.0 release (#140)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Feb 29, 2024
1 parent 0c2163e commit 2b79a71
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/test.yml
Expand Up @@ -7,14 +7,21 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

jobs:
test:
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
pytest-version: ["~=6.2", "~=7.2"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
pytest-version: ["~=7.2", "~=8.0"]
# TODO: remove after several new versions of mypy
mypy-version: ["~=1.7", "~=1.8"]

steps:
- uses: actions/checkout@v4
Expand All @@ -28,6 +35,8 @@ jobs:
pip install -e .
# Force correct `pytest` version for different envs:
pip install -U "pytest${{ matrix.pytest-version }}"
# Force correct `mypy` version:
pip install -U "mypy${{ matrix.mypy-version }}"
- name: Run tests
run: pytest

Expand Down
7 changes: 7 additions & 0 deletions CHANGELOG.md
@@ -1,6 +1,13 @@
# Version history


## 3.1.0

### Features

- Add `mypy@1.8.0` support


## 3.0.0

### Features
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -17,7 +17,7 @@ addopts = "-s --mypy-extension-hook pytest_mypy_plugins.tests.reveal_type_hook.h

[tool.black]
line-length = 120
target-version = ["py38", "py39", "py310", "py311"]
target-version = ["py38"]

[tool.isort]
include_trailing_comma = true
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -17,7 +17,7 @@

setup(
name="pytest-mypy-plugins",
version="3.0.0",
version="3.1.0",
description="pytest plugin for writing tests for mypy plugins",
long_description=readme,
long_description_content_type="text/markdown",
Expand Down

0 comments on commit 2b79a71

Please sign in to comment.