From 61a3b75b471d2d0d995f8fcf89c8fdaa9af27367 Mon Sep 17 00:00:00 2001
From: ulif <uli@gnufix.de>
Date: Thu, 25 Jul 2024 00:33:47 +0200
Subject: [PATCH] Fix testing workflow.

Try to setup multiple Python versions for a single `tox` run. We need to
do this, because coverage testing succeeds only when tests have run over
Python3 and Python3 tests.

Settung up multiple Python versions at once is supported since
`setup-python@v4.40`.
---
 .github/workflows/tests.yml | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml
index 421a67c..d665136 100644
--- a/.github/workflows/tests.yml
+++ b/.github/workflows/tests.yml
@@ -20,19 +20,19 @@ jobs:
         os:
           - ubuntu
         config:
-          #- ["2.7", "py27"]
-          #- ["3.5", "py35"]
-          #- ["3.6", "py36"]
-          #- ["3.7", "py37"]
-          #- ["3.8", "py38"]
-          - ["3.9", "lint,clean,py27,py39,report"]
-          #- ["pypy-2.7", "pypy"]
-          #- ["pypy-3.7", "pypy3"]
+          #- [ ["2.7"], "py27"]
+          #- [ ["3.5"], "py35"]
+          #- [ ["3.6"], "py36"]
+          #- [ ["3.7"], "py37"]
+          #- [ ["3.8"], "py38"]
+          - [ ["2.7", "3.9"], "lint,clean,py27,py39,report"]
+          #- [ ["pypy-2.7"], "pypy"]
+          #- [ ["pypy-3.7"], "pypy3"]
     runs-on: ubuntu-latest
     steps:
       - uses: actions/checkout@v4
       - name: Set up Python ${{ matrix.config[0] }}
-        uses: actions/setup-python@v3
+        uses: actions/setup-python@v5
         with:
           python-version:  ${{ matrix.config[0] }}
       - name: Install dependencies
-- 
GitLab