We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54504bb commit 0fbd981Copy full SHA for 0fbd981
.github/workflows/pythonapp.yml
@@ -0,0 +1,26 @@
1
+name: Python application
2
+
3
+on: [push]
4
5
+jobs:
6
+ build:
7
8
+ runs-on: ubuntu-18.04
9
10
+ steps:
11
+ - uses: actions/checkout@v1
12
+ - name: Set up Python 3.7
13
+ uses: actions/setup-python@v1
14
+ with:
15
+ python-version: 3.7
16
+ - name: Install dependencies
17
+ run: |
18
+ python -m pip install --upgrade pip
19
+ pip install -r requirements-local.txt
20
+ pip install -r requirements.txt
21
+ - name: Lint with flake8
22
23
+ flake8 --ignore=F401 --exclude=$(grep -v '^#' .gitignore | xargs | sed -e 's/ /,/g')
24
+ - name: Test with unittest
25
26
+ python -W ignore -m unittest discover
0 commit comments