File tree Expand file tree Collapse file tree 1 file changed +17
-18
lines changed Expand file tree Collapse file tree 1 file changed +17
-18
lines changed Original file line number Diff line number Diff line change 1
1
name : Python CI
2
+
2
3
on :
3
4
push :
4
- branches :
5
- - main
6
- paths-ignore :
7
- - ' **.md'
5
+ branches : [ main ]
8
6
pull_request :
9
- paths-ignore :
10
- - ' **.md '
7
+ branches : [ main ]
8
+
11
9
jobs :
12
- run :
13
- name : Run
14
- runs-on : ${{ matrix.operating-system }}
10
+ build :
11
+
12
+ runs-on : ubuntu-latest
13
+
15
14
strategy :
16
15
matrix :
17
- operating-system : [ubuntu-latest]
18
- steps :
19
- - name : Checkout
20
- uses : actions/checkout@v2
16
+ python-version : [3.5, 3.6]
21
17
22
- - name : Run with setup-python 3.5
23
- uses : ./
18
+ steps :
19
+ - uses : actions/checkout@v2
20
+ - name : Use Python ${{ matrix.node-version }}
21
+ uses : actions/setup-python@v2
24
22
with :
25
- python-version : 3.5
26
- - name : Test on 3.5
27
- run : make && make test-travis
23
+ node-version : ${{ matrix.node-version }}
24
+ cache : ' yarn'
25
+ - run : make
26
+ - run : make test-travis
You can’t perform that action at this time.
0 commit comments