From 492403e3a80c5606db1162c61ab642cbcab87b5a Mon Sep 17 00:00:00 2001 From: fstagni Date: Tue, 14 Nov 2023 17:45:54 +0100 Subject: [PATCH] sweep: #7293 test: use CVMFS in the PilotWrapper tests' containers --- .github/workflows/pilotWrapper.yml | 8 +++++++- .../Test_GenerateAndExecutePilotWrapper.py | 6 ++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pilotWrapper.yml b/.github/workflows/pilotWrapper.yml index 8462a67fdef..eb0840af82d 100644 --- a/.github/workflows/pilotWrapper.yml +++ b/.github/workflows/pilotWrapper.yml @@ -20,9 +20,15 @@ jobs: - devel steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: cvmfs-contrib/github-action-cvmfs@v3 + + - name: Test CernVM-FS + run: ls /cvmfs/dirac.egi.eu + - name: Fail-fast for outdated pipelines run: .github/workflows/fail-fast.sh + - name: prepare environment run: | conda config --set add_pip_as_python_dependency false diff --git a/tests/Integration/WorkloadManagementSystem/Test_GenerateAndExecutePilotWrapper.py b/tests/Integration/WorkloadManagementSystem/Test_GenerateAndExecutePilotWrapper.py index 3f009a14a63..af020553f34 100644 --- a/tests/Integration/WorkloadManagementSystem/Test_GenerateAndExecutePilotWrapper.py +++ b/tests/Integration/WorkloadManagementSystem/Test_GenerateAndExecutePilotWrapper.py @@ -17,12 +17,10 @@ # python Test_GenerateAndExecutePilotWrapper.py url://to_PilotWrapper.py -from __future__ import print_function -from __future__ import absolute_import -from __future__ import division +from __future__ import absolute_import, division, print_function -import sys import os +import sys import time # 1) gets the (DIRAC-free) PilotWrapper.py