File tree Expand file tree Collapse file tree 2 files changed +32
-13
lines changed Expand file tree Collapse file tree 2 files changed +32
-13
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
+ - name : Set up Python ${{ matrix.python-version }}
19
+ uses : actions/setup-python@v2
20
+ with :
21
+ python-version : ${{ matrix.python-version }}
22
+ - name : Install dependencies
23
+ run : |
24
+ python -m pip install --upgrade pip
25
+ python -m pip install -r dev_requirements.txt
26
+ python -m pip install -r requirements.txt
27
+ - name : Lint Code
28
+ run : python -m pylint ./pusher_push_notifications/*.py
29
+ - name : Lint Docs
30
+ run : python setup.py checkdocs
31
+ - name : Test
32
+ run : python -m nose -s --with-coverage && codecov
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments