leapp/0022-Add-unit-tests-on-Python-3.12-to-the-GH-action.patch
Toshio Kuratomi 1be26899be LEAPP Release CTC-2 candidate 1 (8.10/9.5)
- Fix broken leapp db queries on rerun
- Port all code to be Python-3.12 compatible.
- Resolves: RHEL-40363
2024-07-24 19:18:17 -07:00

29 lines
955 B
Diff

From 0b00cc695ea076eb0f45176385f750654c4acea1 Mon Sep 17 00:00:00 2001
From: Matej Matuska <mmatuska@redhat.com>
Date: Fri, 12 Jul 2024 11:11:18 +0200
Subject: [PATCH 22/23] Add unit tests on Python 3.12 to the GH action
Currently the fake RHEL 10 container is used (based on ubi9).
---
.github/workflows/unit-tests.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml
index 008ce28..e67264b 100644
--- a/.github/workflows/unit-tests.yml
+++ b/.github/workflows/unit-tests.yml
@@ -15,7 +15,9 @@ jobs:
fail-fast: false
matrix:
scenarios:
- - name: Run unit tests with python3.9 on el8
+ - name: Run unit tests with python3.12 on el9
+ python: python3.12
+ container: ubi10
- name: Run unit tests with python3.9 on el9
python: python3.9
container: ubi9
--
2.42.0