|
15 | 15 | envlist: ${{ steps.generate-tox-envlist.outputs.envlist }} |
16 | 16 | steps: |
17 | 17 | - uses: actions/checkout@v4 |
| 18 | + - uses: actions/setup-python@v5 |
| 19 | + with: |
| 20 | + python-version: 3.12 |
| 21 | + cache: pip |
18 | 22 | - run: pip install tox tox-gh-matrix |
19 | 23 | - id: generate-tox-envlist |
20 | 24 | run: python -m tox --gh-matrix |
@@ -43,14 +47,15 @@ jobs: |
43 | 47 | # Maps port 6379 on service container to the host |
44 | 48 | - 6379:6379 |
45 | 49 | steps: |
46 | | - - uses: actions/checkout@v4 |
47 | | - - name: Setup Python ${{ matrix.tox.python.version }} |
48 | | - uses: actions/setup-python@v5 |
49 | | - with: |
50 | | - python-version: ${{ matrix.tox.python.spec }} |
51 | | - - name: Install dependencies |
52 | | - run: pip install tox codecov |
53 | | - - name: Tox tests |
54 | | - run: python -m tox -v -e ${{ matrix.tox.name }} |
55 | | - - name: Upload coverage |
56 | | - run: python -m codecov --name "Python ${{ matrix.tox.python.spec }}" |
| 50 | + - uses: actions/checkout@v4 |
| 51 | + - name: Setup Python ${{ matrix.tox.python.version }} |
| 52 | + uses: actions/setup-python@v5 |
| 53 | + with: |
| 54 | + python-version: ${{ matrix.tox.python.spec }} |
| 55 | + cache: pip |
| 56 | + - name: Install dependencies |
| 57 | + run: pip install tox codecov |
| 58 | + - name: Tox tests |
| 59 | + run: python -m tox -v -e ${{ matrix.tox.name }} |
| 60 | + - name: Upload coverage |
| 61 | + run: python -m codecov --name "Python ${{ matrix.tox.python.spec }}" |
0 commit comments