Skip to content

Commit 4b5eee4

Browse files
committed
Revert "Update test.yml"
This reverts commit 6a0fe24.
1 parent 6a0fe24 commit 4b5eee4

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/test.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install developer dependencies
2626
run: |
2727
python3 -m pip install -U pip
28-
python3 -m pip install -U pytest pytest-runner
28+
python3 -m pip install -U pytest pytest-runner flake8
2929
3030
- name: Install sphinx dependencies
3131
run:
@@ -39,6 +39,9 @@ jobs:
3939
working-directory: docs
4040
run: make man
4141

42+
- name: Lint codebase
43+
run: python3 -m flake8
44+
4245
- name: Run test suite
4346
run: python3 -m pytest tests/
4447

@@ -69,7 +72,7 @@ jobs:
6972
- name: Install developer dependencies
7073
run: |
7174
python3 -m pip install -U pip
72-
python3 -m pip install -U pytest pytest-runner
75+
python3 -m pip install -U pytest pytest-runner flake8
7376
7477
- name: Install sphinx dependencies
7578
run: |
@@ -84,6 +87,9 @@ jobs:
8487
working-directory: docs
8588
run: make man
8689

90+
- name: Lint codebase
91+
run: python3 -m flake8
92+
8793
- name: Run test suite
8894
run: python3 -m pytest tests/
8995

@@ -114,7 +120,7 @@ jobs:
114120
- name: Install developer dependencies
115121
run: |
116122
python3 -m pip install -U pip
117-
python3 -m pip install -U pytest pytest-runner
123+
python3 -m pip install -U pytest pytest-runner flake8
118124
119125
- name: Install sphinx dependencies
120126
run: |
@@ -128,6 +134,9 @@ jobs:
128134
working-directory: docs
129135
run: make man
130136

137+
- name: Lint codebase
138+
run: python3 -m flake8
139+
131140
- name: Run test suite
132141
run: python3 -m pytest tests/
133142

@@ -158,12 +167,15 @@ jobs:
158167
- name: Install developer dependencies
159168
run: |
160169
python3 -m pip install -U pip
161-
python3 -m pip install -U pytest pytest-runner
170+
python3 -m pip install -U pytest pytest-runner flake8
162171
163172
- name: Install tldr dependencies
164173
run:
165174
python3 -m pip install -r requirements.txt --user
166175

176+
- name: Lint codebase
177+
run: python3 -m flake8
178+
167179
- name: Run test suite
168180
run: python3 -m pytest tests/
169181

0 commit comments

Comments
 (0)