From 3ef6a76def4231d72138c4b73c3cf4bd4c753d82 Mon Sep 17 00:00:00 2001 From: Ulrik Egede Date: Wed, 20 Dec 2023 09:22:31 +1100 Subject: [PATCH] Update the condor testing to use the latest available condor image (currently el8). --- .github/workflows/ci_push_testing.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci_push_testing.yml b/.github/workflows/ci_push_testing.yml index 7cc5fe651d..daed86b2a3 100644 --- a/.github/workflows/ci_push_testing.yml +++ b/.github/workflows/ci_push_testing.yml @@ -174,19 +174,18 @@ jobs: needs: lint if: always() && !failure() && !cancelled() runs-on: ubuntu-latest - container: htcondor/mini:el7 + container: htcondor/mini steps: - uses: actions/checkout@v2 with: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python 3 run: | - yum install -y centos-release-scl-rh - yum install -y rh-python38-python rh-python38-python-pip + dnf install -y python3.11 - name: Install dependencies run: | - /opt/rh/rh-python38/root/usr/bin/python -m pip install --upgrade pip setuptools wheel - /opt/rh/rh-python38/root/usr/bin/python -m pip install -e .[dev] + /usr/bin/python3.11 -m pip install --upgrade pip setuptools wheel + /usr/bin/python3.11 -m pip install -e .[dev] - name: Start Condor run: | /start.sh > start.stdout & @@ -196,7 +195,7 @@ jobs: run: | pwd find . -exec chown submituser:submituser {} \; - su submituser -s /opt/rh/rh-python38/root/usr/bin/python -- -m pytest --cov-report term-missing --cov ganga/GangaCore/Lib/Condor ganga/GangaCore/test/Condor + su submituser -s /usr/bin/python3.11 -- -m pytest --cov-report term-missing --cov ganga/GangaCore/Lib/Condor ganga/GangaCore/test/Condor condor_status condor_q