Skip to content

Commit ead7dda

Browse files
committed
Add job running flake8 on known good folder
1 parent 4a29a11 commit ead7dda

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.github/workflows/linting.yml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Static Analysis
2+
on: [push, pull_request]
3+
jobs:
4+
python-linting:
5+
runs-on: ubuntu-18.04
6+
steps:
7+
- uses: actions/checkout@v2
8+
9+
- name: set up Python
10+
uses: actions/setup-python@v1
11+
with:
12+
python-version: 3.8
13+
14+
- name: install Python packages
15+
run: |
16+
pip install --upgrade pip
17+
pip install --upgrade flake8
18+
19+
- name: Run flake8
20+
run: |
21+
flake8 easybuild/tools
22+

0 commit comments

Comments
 (0)