Skip to content

Commit 5674d47

Browse files
committed
Update python-app.yml
add: flake8 and mypy checker.
1 parent b7778c8 commit 5674d47

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/python-app.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,20 @@ jobs:
2222
- name: Set up Python 3.10
2323
uses: actions/setup-python@v3
2424
with:
25-
python-version: "3.10"
25+
python-version: "3.12"
2626
- name: Install dependencies
2727
run: |
2828
python -m pip install --upgrade pip
29-
pip install flake8 pytest
29+
pip install flake8 pytest mypy
3030
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
31+
32+
- name: flake
33+
run: flake8 testbench_generator.py
34+
35+
- name: mypy
36+
run: mypy testbench_generator.py
37+
38+
3139
- name: Test with unittest
3240
run: |
3341
python3 -m unittest tests/test_testbench_generator.py

0 commit comments

Comments
 (0)