|
9 | 9 | strategy: |
10 | 10 | fail-fast: false |
11 | 11 | matrix: |
12 | | - python-version: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "pypy2.7", "pypy3.9"] |
| 12 | + container: ["python:2.7-slim", "python:3.5-slim", "python:3.6-slim", "python:3.7-slim", |
| 13 | + "python:3.8-slim", "python:3.9-slim", "python:3.10-slim", "python:3.11-slim", |
| 14 | + "python:3.12-slim", "python:3.13-slim", "pypy:2.7-slim", "pypy:3.11-slim"] |
13 | 15 | include: |
14 | | - - setup-python: true |
15 | 16 | - check-types: true |
16 | | - - python-version: "2.7" |
17 | | - container: "python:2.7.18-slim" |
18 | | - setup-python: false |
| 17 | + - container: "python:2.7-slim" |
19 | 18 | check-types: false |
20 | | - - python-version: "3.5" |
21 | | - container: "python:3.5.10-slim" |
22 | | - setup-python: false |
| 19 | + - container: "python:3.5-slim" |
23 | 20 | check-types: false |
24 | | - - python-version: "3.6" |
25 | | - container: "python:3.6.15-slim" |
26 | | - setup-python: false |
27 | | - - python-version: "3.7" |
28 | | - container: "python:3.7.17-slim" |
29 | | - setup-python: false |
30 | | - - python-version: "pypy2.7" |
| 21 | + - container: "pypy:2.7-slim" |
31 | 22 | check-types: false |
32 | 23 |
|
33 | 24 | runs-on: ubuntu-24.04 |
|
36 | 27 | steps: |
37 | 28 | - uses: actions/checkout@v4 |
38 | 29 |
|
39 | | - - name: Set up Python ${{ matrix.python-version }} |
40 | | - if: ${{ matrix.setup-python }} |
41 | | - uses: actions/setup-python@v5 |
42 | | - with: |
43 | | - python-version: ${{ matrix.python-version }} |
44 | | - |
45 | 30 | - name: Upgrade pip |
46 | 31 | run: python -m pip install --upgrade pip |
47 | 32 |
|
|
55 | 40 |
|
56 | 41 | - name: Run tests |
57 | 42 | run: | |
| 43 | + python --version |
58 | 44 | python -m tests.test_gpio |
59 | 45 | python -m tests.test_gpio_sysfs |
60 | 46 | python -m tests.test_spi |
|
0 commit comments