Skip to content

Commit

Permalink
Version 0.21.0 release (#1659)
Browse files Browse the repository at this point in the history
* Version 0.21.0 release

* Fix CI

* Fix CI

* Fix CI
  • Loading branch information
sobolevn authored Jun 27, 2023
1 parent 2717d1f commit b11c288
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
fail-fast: false
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
task: ['tests', 'typesafety']

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -55,6 +56,7 @@ jobs:
poetry run pip install -U pip
- name: Run tests
if: matrix.task == 'tests'
run: |
poetry run flake8 .
Expand All @@ -74,11 +76,14 @@ jobs:
poetry run safety check --full-report
poetry run python -m slotscheck returns --verbose
- name: Run typesafety tests
if: matrix.task == 'typesafety'
run: |
# We do this to speed up the build:
poetry run pytest typesafety -p no:cov -o addopts="" --mypy-ini-file=setup.cfg
- name: Upload coverage to Codecov
if: ${{ matrix.python-version }} == 3.8
if: "matrix.task == 'tests' && matrix.python-version == 3.11"
uses: codecov/codecov-action@v3
with:
file: ./coverage.xml
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,14 @@ incremental in minor, bugfixes only are patches.
See [0Ver](https://0ver.org/).


## 0.21.0

### Features

- Now requires `mypy>=1.4`
- Adds `[compatible-mypy]` extra for installation


## 0.20.1

### Bugfixes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "returns"
version = "0.20.1"
version = "0.21.0"
description = "Make your functions return something meaningful, typed, and safe!"
license = "BSD-3-Clause"

Expand Down

0 comments on commit b11c288

Please sign in to comment.