Skip to content

Commit 2185f4b

Browse files
authored
Update python.yml
1 parent 77ff4bc commit 2185f4b

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/python.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,26 @@
11
name: Python CI
2+
23
on:
34
push:
4-
branches:
5-
- main
6-
paths-ignore:
7-
- '**.md'
5+
branches: [ main ]
86
pull_request:
9-
paths-ignore:
10-
- '**.md'
7+
branches: [ main ]
8+
119
jobs:
12-
run:
13-
name: Run
14-
runs-on: ${{ matrix.operating-system }}
10+
build:
11+
12+
runs-on: ubuntu-latest
13+
1514
strategy:
1615
matrix:
17-
operating-system: [ubuntu-latest]
18-
steps:
19-
- name: Checkout
20-
uses: actions/checkout@v2
16+
python-version: [3.5, 3.6]
2117

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
2422
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

0 commit comments

Comments
 (0)