blob: b4945d01276a74d0950d2c5861c9c2efa9a0a61e (
plain)
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
|
name: CI
on:
push:
release:
types: [published]
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
python-version:
- name: pypy2
toxenv: pypy2-build
- name: pypy2
toxenv: pypy2-tests
- name: pypy2
toxenv: pypy2-tests_nongpl
- name: pypy2
toxenv: safety
- name: pypy3
toxenv: pypy3-build
- name: pypy3
toxenv: pypy3-tests
- name: pypy3
toxenv: pypy3-tests_nongpl
- name: pypy3
toxenv: demo
- name: pypy3
toxenv: readme
- name: pypy3
toxenv: safety
- name: pypy3
toxenv: secrets
- name: pypy3
toxenv: style
- name: pypy3
toxenv: docs-html
- name: pypy3
toxenv: docs-doctest
- name: pypy3
toxenv: docs-linkcheck
- name: pypy3
toxenv: docs-spelling
- name: pypy3
toxenv: docs-style
- name: 3.5
toxenv: py35-build
- name: 3.5
toxenv: py35-tests
- name: 3.5
toxenv: py35-tests_nongpl
- name: 3.6
toxenv: py36-build
- name: 3.6
toxenv: py36-tests
- name: 3.6
toxenv: py36-tests_nongpl
- name: 3.7
toxenv: py37-build
- name: 3.7
toxenv: py37-tests
- name: 3.7
toxenv: py37-tests_nongpl
- name: 3.8
toxenv: py38-build
- name: 3.8
toxenv: py38-tests
- name: 3.8
toxenv: py38-tests_nongpl
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version.name }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version.name }}
- name: Ensure we have new enough versions to respect python_version
run: python -m pip install -U pip setuptools
- name: Install dependencies
run: sudo apt-get install -y libenchant-dev libxml2-dev libxslt-dev
if: startsWith(matrix.os, 'ubuntu') && startsWith(matrix.python-version.toxenv, 'docs-')
- name: Install dependencies
run: brew install enchant
if: startsWith(matrix.os, 'mac') && startsWith(matrix.python-version.toxenv, 'docs-')
- name: Install tox
run: python -m pip install tox tox-venv
- name: Run tox
run: python -m tox -e "${{ matrix.python-version.toxenv }}"
|