File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 21
21
timeout-minutes : 10
22
22
23
23
strategy :
24
+ fail-fast : false
24
25
matrix :
25
26
python :
26
27
- 2.7.18
51
52
timeout-minutes : 10
52
53
53
54
strategy :
55
+ fail-fast : false
54
56
matrix :
55
57
python :
56
58
- 2.7.18
62
64
- uses : actions/checkout@v3
63
65
- name : Installing dependencies
64
66
run : |
67
+ echo 'deb http://archive.debian.org/debian stretch main' > /etc/apt/sources.list
68
+ echo 'deb http://archive.debian.org/debian-security stretch/updates main' >> /etc/apt/sources.list
69
+ apt-get update || true
65
70
python -m pip install pytest mock
66
- apt-get update
67
71
apt install -y voms-clients
68
72
- name : Run pytest
69
73
run : pytest
75
79
timeout-minutes : 10
76
80
77
81
strategy :
82
+ fail-fast : false
78
83
matrix :
79
84
python :
80
85
- 2.7.18
Original file line number Diff line number Diff line change @@ -357,10 +357,11 @@ def _localInstallDIRAC(self):
357
357
self ._saveEnvInFile ()
358
358
359
359
# 7. pip install DIRAC[pilot]
360
- pipInstalling = "pip install %s " % self .pp .pipInstallOptions
360
+ pipInstallingPrefix = "pip install %s " % self .pp .pipInstallOptions
361
361
362
362
if self .pp .modules : # install a non-released (on pypi) version
363
363
for modules in self .pp .modules .split ("," ):
364
+ pipInstalling = pipInstallingPrefix
364
365
branch = project = ""
365
366
elements = modules .split (":::" )
366
367
url = ""
@@ -385,9 +386,9 @@ def _localInstallDIRAC(self):
385
386
else :
386
387
# pip install DIRAC[pilot]==version ExtensionDIRAC[pilot]==version_ext
387
388
if not self .releaseVersion or self .releaseVersion in ["master" , "main" , "integration" ]:
388
- cmd = "%s %sDIRAC[pilot]" % (pipInstalling , self .pp .releaseProject )
389
+ cmd = "%s %sDIRAC[pilot]" % (pipInstallingPrefix , self .pp .releaseProject )
389
390
else :
390
- cmd = "%s %sDIRAC[pilot]==%s" % (pipInstalling , self .pp .releaseProject , self .releaseVersion )
391
+ cmd = "%s %sDIRAC[pilot]==%s" % (pipInstallingPrefix , self .pp .releaseProject , self .releaseVersion )
391
392
retCode , output = self .executeAndGetOutput (cmd , self .pp .installEnv )
392
393
if retCode :
393
394
self .log .error ("Could not pip install %s [ERROR %d]" % (self .releaseVersion , retCode ))
You can’t perform that action at this time.
0 commit comments