-
Notifications
You must be signed in to change notification settings - Fork 3
56 lines (53 loc) · 1.14 KB
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
name: Test
on:
- push
- pull_request
jobs:
test:
strategy:
matrix:
os: [ubuntu-latest]
mode: [run_tests]
python:
- "3.5"
- "3.8"
include:
- os: ubuntu-latest
mode: check_style
python: "3.8"
- os: ubuntu-latest
mode: coverage
python: "2.7"
runs-on: ${{ matrix.os }}
env:
TEST_MODE: ${{ matrix.mode }}
PYTHON_VERSION: ${{ matrix.python }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: .ci/install.sh
- name: Test
run: .ci/test.sh
- name: Finish
run: .ci/finish.sh
test-windows:
strategy:
matrix:
os: [windows-latest]
python:
- "2.7"
- "3.5"
- "3.8"
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
run: ".ci\\install.bat"
- name: Test
run: ".ci\\test.bat"