mirror of
https://github.com/scito/extract_otp_secret_keys.git
synced 2026-01-06 05:15:42 +01:00
ci: fix if ${{ matrix.python-version }}
This commit is contained in:
parent
66b41d86e6
commit
45a9693586
1 changed files with 2 additions and 2 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -38,7 +38,6 @@ jobs:
|
|||
python -m pip install --upgrade pip
|
||||
pip install flake8 pytest pytest-mock mypy types-protobuf
|
||||
pip install --use-pep517 -r requirements.txt
|
||||
mypy --install-types --non-interactive *.py
|
||||
- name: Lint with flake8
|
||||
run: |
|
||||
# stop the build if there are Python syntax errors or undefined names
|
||||
|
|
@ -47,7 +46,8 @@ jobs:
|
|||
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=200 --statistics
|
||||
- name: Type checking with mypy
|
||||
run: |
|
||||
mypy --install-types --non-interactive *.py
|
||||
mypy --strict *.py
|
||||
if: ${{ matrix.python-version == '3.x' }}
|
||||
if: ${{ matrix.python-version }} == '3.x'
|
||||
- name: Test with pytest
|
||||
run: pytest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue