Skip to content

Commit 72346a5

Browse files
authored
Bump CI actions
1 parent 276ff50 commit 72346a5

1 file changed

Lines changed: 5 additions & 18 deletions

File tree

.github/workflows/test.yml

Lines changed: 5 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@ jobs:
1414
outputs:
1515
envlist: ${{ steps.generate-tox-envlist.outputs.envlist }}
1616
steps:
17-
- uses: actions/checkout@v3
18-
- run: |
19-
python -m pip install --upgrade pip
20-
python -m pip install tox tox-gh-matrix
17+
- uses: actions/checkout@v4
18+
- run: pip install tox tox-gh-matrix
2119
- id: generate-tox-envlist
2220
run: python -m tox --gh-matrix
2321

@@ -29,7 +27,6 @@ jobs:
2927
fail-fast: false
3028
matrix:
3129
tox: ${{ fromJSON(needs.get-tox-envlist.outputs.envlist) }}
32-
3330
# Service containers to run with `container-job`
3431
services:
3532
# Label used to access the service container
@@ -45,25 +42,15 @@ jobs:
4542
ports:
4643
# Maps port 6379 on service container to the host
4744
- 6379:6379
48-
4945
steps:
50-
- uses: actions/checkout@v2
51-
46+
- uses: actions/checkout@v4
5247
- name: Setup Python ${{ matrix.tox.python.version }}
53-
uses: actions/setup-python@v4
48+
uses: actions/setup-python@v5
5449
with:
5550
python-version: ${{ matrix.tox.python.spec }}
56-
5751
- name: Install dependencies
58-
run: |
59-
python -m pip install --upgrade pip
60-
python -m pip install --upgrade tox
61-
52+
run: pip install tox codecov
6253
- name: Tox tests
6354
run: python -m tox -v -e ${{ matrix.tox.name }}
64-
65-
- name: Install codecov
66-
run: python -m pip install codecov
67-
6855
- name: Upload coverage
6956
run: python -m codecov --name "Python ${{ matrix.tox.python.spec }}"

0 commit comments

Comments
 (0)