File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Python package
2
+
3
+ on : [push]
4
+
5
+ jobs :
6
+ build :
7
+
8
+ runs-on : ${{ matrix.os }}
9
+ strategy :
10
+ max-parallel : 4
11
+ matrix :
12
+ os : [ubuntu-latest, windows-latest]
13
+ python-version : [3.6, 3.7]
14
+
15
+ steps :
16
+ - uses : actions/checkout@v1
17
+ - name : Set up Python ${{ matrix.python-version }}
18
+ uses : actions/setup-python@v1
19
+ with :
20
+ python-version : ${{ matrix.python-version }}
21
+ - name : Install dependencies
22
+ run : |
23
+ python -m pip install --upgrade pip wheel
24
+ pip install -r CI_REQUIREMENTS.txt
25
+ pip install --upgrade pytest pytest-sugar pytest-cov
26
+ - name : Build package and install develop
27
+ run : |
28
+ python setup.py develop -v
29
+ - name : Test with pytest
30
+ run : |
31
+ py.test -vvv --cov-config .coveragerc --cov-report= --cov=advanced_descriptors test
32
+ coverage report -m --fail-under 89
You can’t perform that action at this time.
0 commit comments