Skip to content

Commit 477d50d

Browse files
committed
test
1 parent 485b67e commit 477d50d

File tree

1 file changed

+14
-8
lines changed

1 file changed

+14
-8
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,12 @@ jobs:
3434
steps:
3535
- name: Checkout repo from github
3636
uses: actions/[email protected]
37+
3738
- name: Set up Python ${{ matrix.python }}
3839
uses: actions/[email protected]
3940
with:
4041
python-version: ${{ matrix.python }}
42+
4143
- name: Restore base Python virtual environment
4244
id: cache-venv
4345
uses: actions/[email protected]
@@ -53,16 +55,20 @@ jobs:
5355
python --version
5456
pip install -e ".[all]"
5557
56-
# - name: Linter codespell
57-
# run: codespell
58-
# - name: Linter pylint
59-
# run: pylint --recursive=y examples pymodbus test
58+
- run: codespell
59+
if: matrix.run_doc == true
60+
61+
- run: cd doc; ./build_html
62+
if: matrix.run_doc == true
63+
64+
- run: pylint --recursive=y examples pymodbus test
65+
if: matrix.run_lint == true
66+
67+
- run: mypy pymodbus
68+
if: matrix.run_lint == true
69+
6070
# - name: Linter pre-commit
6171
# run: pre-commit run --all-files
62-
# - name: mypy
63-
# run: mypy pymodbus
64-
# - name: Linter build doc
65-
# run: cd doc; ./build_html
6672

6773
#integreation_test:
6874
# name: pytest - ${{ matrix.os.on }} - ${{ matrix.python.version }}

0 commit comments

Comments
 (0)