From 8e3ed6aa0cf089f3382cb7e4d18ff394f635b57a Mon Sep 17 00:00:00 2001 From: David Gilman Date: Thu, 2 Nov 2023 20:58:42 -0400 Subject: [PATCH] Drop 3.7 from CI, only run lint on Python 3.12 --- .github/workflows/pythonpackage.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index aa3d978..d56ef40 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -9,7 +9,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.8, 3.9, "3.10", 3.11] + python-version: [3.8, 3.9, "3.10", 3.11, 3.12] steps: - uses: actions/checkout@v1 @@ -21,8 +21,9 @@ jobs: uses: dschep/install-pipenv-action@v1 - name: Install dependencies run: | - pipenv install --dev --python `which python` + pipenv install --dev --skip-lock --python `which python` - name: Linting and formatting + if: ${{ matrix.python-version == '3.11' }} run: | # stop the build if there are Python syntax errors or undefined names pipenv run flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics