-
Notifications
You must be signed in to change notification settings - Fork 46
50 lines (47 loc) · 1.3 KB
/
ci.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
name: CI
# Controls when the workflow will run
on:
# Triggers the workflow on push, or for pull requests against master
push:
paths-ignore:
- AUTHORS
- ChangeLog
- README.rst
pull_request:
branches: [ master ]
paths-ignore:
- AUTHORS
- ChangeLog
- README.rst
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
build:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy2.7', 'pypy3.7', 'pypy3.8', 'pypy3.9', 'pypy3.10']
include:
# Most jobs can run on ubuntu-latest
- os: ubuntu-latest
- python-version: '3.6'
os: ubuntu-20.04
runs-on: ${{ matrix.os }}
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install Cython
run: pip install Cython
- name: Install
run: pip install .
- name: Install nose
run: pip install nose
- name: Run tests
run: |
printf 'Running tests with '; python --version \
python runtests.py -v \
nosetests -v