1 |
commit: 6c5b4603d4d76da55c57212fd84449839dcc6736 |
2 |
Author: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Sep 21 20:46:29 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Sep 21 20:59:45 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=6c5b4603 |
7 |
|
8 |
Add github action for flake |
9 |
|
10 |
Signed-off-by: Wolfgang E. Sanyer <WolfgangESanyer <AT> gmail.com> |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
.github/workflows/flake.yml | 20 ++++++++++++++++++++ |
14 |
1 file changed, 20 insertions(+) |
15 |
|
16 |
diff --git a/.github/workflows/flake.yml b/.github/workflows/flake.yml |
17 |
new file mode 100644 |
18 |
index 0000000..a1a8649 |
19 |
--- /dev/null |
20 |
+++ b/.github/workflows/flake.yml |
21 |
@@ -0,0 +1,20 @@ |
22 |
+name: Code Quality |
23 |
+ |
24 |
+on: [push, pull_request] |
25 |
+ |
26 |
+jobs: |
27 |
+ build: |
28 |
+ |
29 |
+ runs-on: ubuntu-latest |
30 |
+ |
31 |
+ steps: |
32 |
+ - uses: actions/checkout@v2 |
33 |
+ - name: Set up Python |
34 |
+ uses: actions/setup-python@v2 |
35 |
+ - name: Install flake |
36 |
+ run: | |
37 |
+ python -m pip install --upgrade pip |
38 |
+ pip install flake8 |
39 |
+ - name: Run flake |
40 |
+ run: | |
41 |
+ flake8 pym |