From 7cb43f58c099ae892a3b8e3e26e73a34aeb9e9ff Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez Date: Fri, 14 Jan 2022 19:20:51 +0100 Subject: [PATCH] CI: check compatibility with Python 3.6 using vermin --- .github/workflows/test-docs.yml | 5 +++++ setup.cfg | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 7bc42068..73262b5c 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -96,3 +96,8 @@ jobs: - name: Run Lint & Docs run: tox -e lint_docs if: matrix.python-version == '3.8' + - name: Run vermin to check Python compat + run: | + python -m pip install vermin + vermin --no-tips --violations -t=3.6 . + if: matrix.python-version == '3.10' diff --git a/setup.cfg b/setup.cfg index 8cdfe539..5cedf791 100644 --- a/setup.cfg +++ b/setup.cfg @@ -57,6 +57,7 @@ dev = pytest>=6.2.5 tox>=3.14.6 zest.releaser>=6.20.1 + vermin doc = Sphinx==4.3.2