forked from OpenMS/autowrap
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (50 loc) · 1.49 KB
/
ci-autowrap.yaml
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
name: build autowrap
on:
push:
branches: [master]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
# By default, GitHub will maximize the number of jobs run in parallel
# depending on the available runners on GitHub-hosted virtual machines.
# max-parallel: 8
fail-fast: false
matrix:
include:
# - CYTHON: "<=0.29.21"
# python-version: "2.7"
- CYTHON: "<=0.29.21"
python-version: "3.6"
- CYTHON: "<=0.29.21"
python-version: "3.9"
# - CYTHON: ">0.29.21"
# python-version: "2.7"
- CYTHON: ">0.29.21"
python-version: "3.6"
- CYTHON: ">0.29.21"
python-version: "3.9"
- CYTHON: "==3.0.0a10"
python-version: "3.6"
- CYTHON: "==3.0.0a10"
python-version: "3.9"
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Upgrade pip version
run: |
python -m pip install -U pip
- name: Install pytest
run: |
python -m pip install pytest
- name: Upgrade cython version
run: |
python -m pip install "Cython${{ matrix.CYTHON }}"
- name: run tests
run: |
python setup.py develop
py.test tests/