This is an automated email from the ASF dual-hosted git repository.

asorokoumov pushed a commit to branch python-versions
in repository https://gitbox.apache.org/repos/asf/otava.git

commit f01bf794db7d7d82d8ab2bd18e536e61d1f79688
Author: Alex Sorokoumov <[email protected]>
AuthorDate: Mon Apr 14 20:56:09 2025 -0700

    CI runs against Python versions 3.8-3.11
---
 .github/workflows/python-app.yml | 22 ++++++++++++----------
 1 file changed, 12 insertions(+), 10 deletions(-)

diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml
index 04c0c65..dbc7916 100644
--- a/.github/workflows/python-app.yml
+++ b/.github/workflows/python-app.yml
@@ -5,22 +5,24 @@ name: Python application
 
 on:
   push:
-    branches: [ master ]
+    branches: [master]
   pull_request:
-    branches: [ master ]
+    branches: [master]
 
 jobs:
   build:
-
     runs-on: ubuntu-latest
+    strategy:
+      matrix:
+        python-version: ["3.8", "3.9", "3.10", "3.11"]
 
     steps:
-    - uses: actions/checkout@v2
+      - uses: actions/checkout@v2
 
-    - name: Set up Python 3.8
-      uses: actions/setup-python@v2
-      with:
-        python-version: 3.8.x
+      - name: Set up Python  ${{ matrix.python-version }}
+        uses: actions/setup-python@v2
+        with:
+          python-version: ${{ matrix.python-version }}
 
-    - name: Run CI
-      run: ./toxw
+      - name: Run CI
+        run: ./toxw

Reply via email to