From a5d25332974335baf5fc36ebebcc0dd751ce4164 Mon Sep 17 00:00:00 2001 From: Ivan Habunek Date: Fri, 2 Dec 2022 09:23:00 +0100 Subject: [PATCH] Validate minimum python version in tests --- .github/workflows/test.yml | 3 +++ requirements-test.txt | 1 + 2 files changed, 4 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9862fe1..62ac5d0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,3 +23,6 @@ jobs: - name: Run tests run: | pytest + - name: Validate minimum required version + run: | + vermin --target=3.6 --no-tips . diff --git a/requirements-test.txt b/requirements-test.txt index 95a8f72..35d9578 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,3 +1,4 @@ psycopg2-binary pytest pytest-xdist[psutil] +vermin