mirror of
https://github.com/scito/extract_otp_secrets.git
synced 2025-12-17 07:41:32 +01:00
ci: runs on windows, exclude linting for Python 3.7
This commit is contained in:
5
.github/workflows/ci.yml
vendored
5
.github/workflows/ci.yml
vendored
@@ -13,9 +13,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.x", "3.11", "3.10", "3.9", "3.8", "3.7"]
|
python-version: ["3.x", "3.11", "3.10", "3.9", "3.8", "3.7"]
|
||||||
platform: [ubuntu-latest, macos-latest, windows-latest]
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
exclude:
|
# exclude:
|
||||||
- platform: windows-latest
|
|
||||||
- python-version: [pypy-3.9]
|
|
||||||
|
|
||||||
runs-on: ${{ matrix.platform }}
|
runs-on: ${{ matrix.platform }}
|
||||||
|
|
||||||
@@ -44,6 +42,7 @@ jobs:
|
|||||||
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
|
||||||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=200 --statistics
|
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=200 --statistics
|
||||||
|
if: matrix.python-version != '3.7'
|
||||||
- name: Type checking with mypy
|
- name: Type checking with mypy
|
||||||
run: |
|
run: |
|
||||||
mypy --install-types --non-interactive src/*.py tests/*.py
|
mypy --install-types --non-interactive src/*.py tests/*.py
|
||||||
|
|||||||
Reference in New Issue
Block a user