File tree 3 files changed +67
-23
lines changed
3 files changed +67
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : Build
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ build :
11
+ name : Test on ${{ matrix.os }}
12
+ runs-on : ${{ matrix.os }}
13
+ env :
14
+ RELEASE : false
15
+ SKIP_WEBUI : true
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ os : [ubuntu-18.04, windows-latest, macOS-latest]
20
+ python_version : [3.6]
21
+ steps :
22
+ - uses : actions/checkout@v2
23
+ with :
24
+ submodules : ' recursive'
25
+ - name : Set up Python
26
+ uses : actions/setup-python@v1
27
+ with :
28
+ python-version : ${{ matrix.python_version }}
29
+ - name : Create virtualenv
30
+ shell : bash
31
+ run : |
32
+ pip install virtualenv
33
+ python -m virtualenv venv
34
+ - name : Install dependencies
35
+ shell : bash
36
+ run : |
37
+ pip install poetry
38
+ source venv/bin/activate || source venv/Scripts/activate
39
+ make build
40
+ - name : Run tests
41
+ shell : bash
42
+ run : |
43
+ source venv/bin/activate || source venv/Scripts/activate
44
+ make test
45
+ make typecheck
46
+ bash <(curl -s https://codecov.io/bash)
47
+ - name : Package
48
+ shell : bash
49
+ run : |
50
+ source venv/bin/activate || source venv/Scripts/activate
51
+ pip install pyinstaller
52
+ make package
Original file line number Diff line number Diff line change
1
+ name : Lint
2
+
3
+ on :
4
+ push :
5
+ branches : [ master ]
6
+ pull_request :
7
+ branches : [ master ]
8
+
9
+ jobs :
10
+ lint :
11
+ runs-on : ubuntu-latest
12
+ steps :
13
+ - uses : actions/checkout@v2
14
+ - uses : actions/setup-python@v2
15
+ - uses : psf/black@stable
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments