Skip to content

Commit

Permalink
Tweaks in .github/workflows/python-test.yml: remove python '3.9' and …
Browse files Browse the repository at this point in the history
…restrict flake8 to the ./pyemblite source dir.
  • Loading branch information
Shane-J-Latham committed Oct 18, 2023
1 parent f4e76d9 commit 3068b77
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/python-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.10", "3.11", "3.12"]
python-version: ["3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
Expand All @@ -36,9 +36,9 @@ jobs:
- name: Lint with flake8
run: |
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
flake8 ./pyemblite --count --select=E9,F63,F7,F82 --show-source --statistics
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
flake8 ./pyemblite --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
run: |
cd ~
Expand Down

0 comments on commit 3068b77

Please sign in to comment.