|
12 | 12 | strategy:
|
13 | 13 | matrix:
|
14 | 14 | os: [Ubuntu]
|
15 |
| - python-version: ["3.7", "3.8", "3.9", "3.10"] |
| 15 | + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] |
16 | 16 | sphinx-version:
|
17 | 17 | ["sphinx==4.2", "sphinx==4.5", "sphinx==5.0", "sphinx>=5.0"]
|
18 | 18 | steps:
|
|
61 | 61 | make -C doc html SPHINXOPTS="-nT"
|
62 | 62 | make -C doc latexpdf SPHINXOPTS="-nT"
|
63 | 63 |
|
64 |
| - base: |
65 |
| - runs-on: ${{ matrix.os }}-latest |
66 |
| - strategy: |
67 |
| - matrix: |
68 |
| - os: [ubuntu, macos, windows] |
69 |
| - python-version: ["3.11-dev"] |
70 |
| - sphinx-version: |
71 |
| - ["sphinx==4.2", "sphinx==4.5", "sphinx==5.0", "sphinx>=5.0"] |
72 |
| - steps: |
73 |
| - - uses: actions/checkout@v3 |
74 |
| - |
75 |
| - - name: Python setup |
76 |
| - uses: actions/setup-python@v4 |
77 |
| - with: |
78 |
| - python-version: ${{ matrix.python-version }} |
79 |
| - |
80 |
| - - name: Setup environment |
81 |
| - run: | |
82 |
| - python -m pip install --upgrade pip wheel setuptools |
83 |
| - python -m pip install pytest pytest-cov |
84 |
| - python -m pip install ${{ matrix.sphinx-version }} |
85 |
| - python -m pip list |
86 |
| -
|
87 |
| - - name: Install |
88 |
| - run: | |
89 |
| - python -m pip install . |
90 |
| - pip list |
91 |
| -
|
92 |
| - - name: Run test suite |
93 |
| - run: pytest -v --pyargs numpydoc |
94 |
| - |
95 |
| - - name: Make sure CLI works |
96 |
| - run: | |
97 |
| - python -m numpydoc numpydoc.tests.test_main._capture_stdout |
98 |
| - echo '! python -m numpydoc numpydoc.tests.test_main._invalid_docstring' | bash |
99 |
| - python -m numpydoc --validate numpydoc.tests.test_main._capture_stdout |
100 |
| - echo '! python -m numpydoc --validate numpydoc.tests.test_main._docstring_with_errors' | bash |
101 |
| -
|
102 | 64 | prerelease:
|
103 | 65 | runs-on: ${{ matrix.os }}-latest
|
104 | 66 | strategy:
|
|
0 commit comments