Skip to content

Commit 5f00bef

Browse files
committed
test.
1 parent 102b034 commit 5f00bef

File tree

1 file changed

+14
-38
lines changed

1 file changed

+14
-38
lines changed

.github/workflows/ci.yml

Lines changed: 14 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -75,52 +75,28 @@ jobs:
7575
- run: mypy pymodbus
7676
if: matrix.run_lint == true
7777

78-
# - name: Linter pre-commit
79-
# run: pre-commit run --all-files
78+
- run: pre-commit run --all-files
79+
if: matrix.run_lint == true
8080

81-
#integreation_test:
82-
# name: pytest - ${{ matrix.os.on }} - ${{ matrix.python.version }}
83-
# runs-on: ${{ matrix.os.on }}
84-
# timeout-minutes: 20
85-
# strategy:
86-
# fail-fast: false
87-
# matrix:
88-
# os:
89-
# - on: windows-latest
90-
# - on: macos-latest
91-
# - on: ubuntu-latest
92-
# python:
93-
# - version: '3.12'
94-
# - version: '3.11'
95-
# - version: '3.10'
96-
# - version: '3.9'
97-
# - version: '3.8'
98-
# steps:
99-
# - uses: actions/[email protected]
100-
# - uses: actions/setup-python@v4
101-
# with:
102-
# python-version: ${{ matrix.python.version }}
103-
# - run: pip install -e ".[all]"
104-
# - run: pytest -n0 -v --full-trace --timeout=1200
81+
- run: pytest -n0 -v --full-trace --timeout=1200
10582

106-
# analyze:
107-
# name: Analyze Python
108-
# runs-on: ubuntu-22.04
109-
# steps:
110-
# - uses: actions/checkout@v3
111-
# - uses: github/codeql-action/init@v2
112-
# with:
113-
# languages: python
114-
# - uses: github/codeql-action/autobuild@v2
115-
# - uses: github/codeql-action/analyze@v2
83+
analyze:
84+
name: Analyze Python
85+
runs-on: ubuntu-22.04
86+
steps:
87+
- uses: actions/checkout@v3
88+
- uses: github/codeql-action/init@v2
89+
with:
90+
languages: python
91+
- uses: github/codeql-action/autobuild@v2
92+
- uses: github/codeql-action/analyze@v2
11693

11794
ci_complete:
11895
name: ci_complete
11996
runs-on: ubuntu-latest
12097
needs:
121-
# - analyze
98+
- analyze
12299
- pymodbus
123-
# - integreation_test
124100
timeout-minutes: 1
125101
steps:
126102
- name: Dummy

0 commit comments

Comments
 (0)