Skip to content

Commit 6725fc5

Browse files
committed
Fix Python
1 parent 076d3fb commit 6725fc5

1 file changed

Lines changed: 4 additions & 7 deletions

File tree

.github/workflows/tests.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
python: [ '3.7', '3.8', '3.9', '3.10', '3.11' ]
48+
python: [ '3.7.17', '3.8.1', '3.9.23', '3.10.18', '3.11.13' ]
4949

5050
services:
5151
redis:
@@ -55,12 +55,9 @@ jobs:
5555

5656
steps:
5757
- uses: actions/checkout@v2
58-
- name: Install Python ${{ matrix.python }}
59-
run: |
60-
sudo add-apt-repository -y ppa:deadsnakes/ppa
61-
sudo apt-get -qq update
62-
sudo apt-get install -y python${{ matrix.python }} python${{ matrix.python }}-distutils
63-
sudo pip install autopep8
58+
- uses: actions/setup-python@v5
59+
with:
60+
python-version: ${{ matrix.python }}
6461
- name: Run Python tests
6562
run: |
6663
bin/before-install

0 commit comments

Comments
 (0)