File tree Expand file tree Collapse file tree 3 files changed +38
-14
lines changed Expand file tree Collapse file tree 3 files changed +38
-14
lines changed Original file line number Diff line number Diff line change
1
+ name : Python package
2
+
3
+ on :
4
+ push :
5
+ branches : [master]
6
+ pull_request :
7
+ branches : [master]
8
+
9
+ jobs :
10
+ build :
11
+ runs-on : ubuntu-20.04
12
+ strategy :
13
+ matrix :
14
+ python-version : [2.7, 3.6]
15
+
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ with :
19
+ fetch-depth : 2
20
+ - name : Set up Python ${{ matrix.python-version }}
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ python-version : ${{ matrix.python-version }}
24
+ - name : Install dependencies
25
+ run : |
26
+ python -m pip install --upgrade pip
27
+ python -m pip install -r dev_requirements.txt
28
+ python -m pip install -r requirements.txt
29
+ - name : Lint Code
30
+ run : python -m pylint ./pusher_push_notifications/*.py
31
+ - name : Lint Docs
32
+ run : python setup.py checkdocs
33
+ - name : Test
34
+ run : python -m nose -s --with-coverage
35
+ - name : Upload coverage
36
+ uses : codecov/codecov-action@v1
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
nose==1.3.7
2
- pylint==1.9.4
2
+ pylint==1.9.4; python_version < '3.0'
3
+ pylint==2.6.0; python_version > '3.5'
3
4
requests-mock==1.5.2
4
5
collective.checkdocs==0.2
5
6
codecov==2.0.15
You can’t perform that action at this time.
0 commit comments