|
4 | 4 | push: |
5 | 5 | pull_request: |
6 | 6 | schedule: |
7 | | - # run at 7:00 on the first of every month |
8 | | - - cron: '0 7 1 * *' |
| 7 | + # run at 7:00 on the first of every month |
| 8 | + - cron: "0 7 1 * *" |
9 | 9 |
|
10 | 10 | jobs: |
11 | 11 | build: |
12 | 12 | runs-on: ubuntu-latest |
13 | | - continue-on-error: ${{ matrix.python-version == 'pypy-3.8' }} |
| 13 | + continue-on-error: ${{ matrix.python-version == 'pypy-3.9' }} |
14 | 14 | strategy: |
15 | 15 | fail-fast: false |
16 | 16 | matrix: |
17 | 17 | python-version: |
18 | | - - "3.8" |
19 | | - - "3.9" |
20 | | - - "3.10" |
21 | | - - "3.11" |
22 | | - - "3.12" |
23 | | - - "3.13" |
24 | | - - "pypy-3.8" |
| 18 | + - "3.9" |
| 19 | + - "3.10" |
| 20 | + - "3.11" |
| 21 | + - "3.12" |
| 22 | + - "3.13" |
| 23 | + - "pypy-3.9" |
25 | 24 | steps: |
26 | | - - uses: actions/checkout@v4 |
27 | | - with: |
28 | | - fetch-depth: 0 |
29 | | - - name: Set up Python ${{ matrix.python-version }} |
30 | | - uses: actions/setup-python@v5 |
31 | | - with: |
32 | | - python-version: ${{ matrix.python-version }} |
33 | | - - name: Install dependencies |
34 | | - run: | |
35 | | - python -m pip install --upgrade pip |
36 | | - pip install -r requirements.txt |
37 | | - pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5" |
38 | | - pip install pytest pytest-cov numpy |
39 | | - - name: Build with Python ${{ matrix.python-version }} |
40 | | - run: | |
41 | | - python setup.py build |
42 | | - - name: Build documentation |
43 | | - run: | |
44 | | - python setup.py build_sphinx |
45 | | - python setup.py build_sphinx_man |
46 | | - - name: Test with pytest |
47 | | - run: | |
48 | | - pytest --cov=bpython --cov-report=xml -v |
49 | | - - name: Upload coverage to Codecov |
50 | | - uses: codecov/codecov-action@v5 |
51 | | - env: |
52 | | - PYTHON_VERSION: ${{ matrix.python-version }} |
53 | | - with: |
54 | | - file: ./coverage.xml |
55 | | - env_vars: PYTHON_VERSION |
56 | | - if: ${{ always() }} |
| 25 | + - uses: actions/checkout@v4 |
| 26 | + with: |
| 27 | + fetch-depth: 0 |
| 28 | + - name: Set up Python ${{ matrix.python-version }} |
| 29 | + uses: actions/setup-python@v5 |
| 30 | + with: |
| 31 | + python-version: ${{ matrix.python-version }} |
| 32 | + - name: Install dependencies |
| 33 | + run: | |
| 34 | + python -m pip install --upgrade pip |
| 35 | + pip install -r requirements.txt |
| 36 | + pip install urwid twisted watchdog "jedi >=0.16" babel "sphinx >=1.5" |
| 37 | + pip install pytest pytest-cov numpy |
| 38 | + - name: Build with Python ${{ matrix.python-version }} |
| 39 | + run: | |
| 40 | + python setup.py build |
| 41 | + - name: Build documentation |
| 42 | + run: | |
| 43 | + python setup.py build_sphinx |
| 44 | + python setup.py build_sphinx_man |
| 45 | + - name: Test with pytest |
| 46 | + run: | |
| 47 | + pytest --cov=bpython --cov-report=xml -v |
| 48 | + - name: Upload coverage to Codecov |
| 49 | + uses: codecov/codecov-action@v5 |
| 50 | + env: |
| 51 | + PYTHON_VERSION: ${{ matrix.python-version }} |
| 52 | + with: |
| 53 | + file: ./coverage.xml |
| 54 | + env_vars: PYTHON_VERSION |
| 55 | + if: ${{ always() }} |
0 commit comments