From 4778d9646f8ef333422e772c3222aad7f8a0449c Mon Sep 17 00:00:00 2001 From: Matej Matuska Date: Thu, 27 Jun 2024 16:18:31 +0200 Subject: [PATCH] Add 9to10 to GH unit test action --- .github/workflows/unit-tests.yml | 19 +++++++++++++++---- utils/container-tests/Containerfile.ubi9 | 4 +++- 2 files changed, 18 insertions(+), 5 deletions(-) diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index e4b4d1734f..f73a61e923 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -15,18 +15,29 @@ jobs: fail-fast: false matrix: scenarios: + # 9to10 + - name: Run unit tests for el9toel10 and common repositories on python 3.12 + python: python3.12 + repos: 'el9toel10,common' + container: ubi9 + - name: Run unit tests for el9toel10 and common repositories on python 3.9 + python: python3.9 + repos: 'el9toel10,common' + container: ubi9 + # 8to9 - name: Run unit tests for el8toel9 and common repositories on python 3.9 python: python3.9 repos: 'el8toel9,common' + container: ubi9 + - name: Run unit tests for el8toel9 and common repositories on python 3.6 + python: python3.6 + repos: 'el8toel9,common' container: ubi8 + # 7to8 - name: Run unit tests for el7toel8 and common repositories on python 3.6 python: python3.6 repos: 'el7toel8,common' container: ubi8 - - name: Run unit tests for el8toel9 and common repositories on python 3.6 - python: python3.6 - repos: 'el8toel9,common' - container: ubi8 - name: Run unit tests for el7toel8 and common repositories on python 2.7 python: python2.7 repos: 'el7toel8,common' diff --git a/utils/container-tests/Containerfile.ubi9 b/utils/container-tests/Containerfile.ubi9 index 4460c74870..1e616a9954 100644 --- a/utils/container-tests/Containerfile.ubi9 +++ b/utils/container-tests/Containerfile.ubi9 @@ -3,7 +3,9 @@ FROM registry.access.redhat.com/ubi9/ubi:latest VOLUME /payload RUN dnf update -y && \ - dnf install python3-virtualenv python3-setuptools python3-pip make git -y + dnf install python3-setuptools python3-pip make git -y + +RUN pip install virtualenv WORKDIR /payload ENTRYPOINT make install-deps && make test