5353 # standalone setup. #
5454 prepare-gubbins-backend :
5555 runs-on : ubuntu-latest
56- if : github.event_name == 'push' # ${{ github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web' }}
56+ if : ${{ github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web' }}
5757 defaults :
5858 run :
5959 # We need extglob for REFERENCE_BRANCH substitution
@@ -152,7 +152,7 @@ jobs:
152152
153153 prepare-gubbins-frontend-as-a-standalone :
154154 runs-on : ubuntu-latest
155- if : github.event_name == 'push' # ${{ github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web' }}
155+ if : ${{ github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web' }}
156156 steps :
157157 - uses : actions/checkout@v4
158158
@@ -246,14 +246,14 @@ jobs:
246246 run-demo :
247247 runs-on : ubuntu-latest
248248 needs : [prepare-gubbins-frontend-as-a-standalone, prepare-gubbins-backend]
249- if : github.event_name == 'push' # github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web'
249+ if : github.event_name != 'push' || github.repository == 'DIRACGrid/diracx-web'
250250 steps :
251251 - uses : actions/checkout@v4
252252
253253 - name : Clone source
254254 run : |
255255 cd ..
256- git clone https://github.com/TheauW /diracx-charts.git -b twartel-fix-ci
256+ git clone https://github.com/DIRACGrid /diracx-charts.git
257257
258258 # ========================================================================#
259259 # WARNING: In your CI/CD pipeline, you should remove the following steps #
@@ -330,3 +330,10 @@ jobs:
330330 browser : chrome
331331 config : baseUrl=${{ env.DIRACX_URL }}
332332 project : /tmp/gubbins-web
333+
334+ - name : Upload Cypress screenshots
335+ if : failure()
336+ uses : actions/upload-artifact@v4
337+ with :
338+ name : cypress-screenshots
339+ path : /tmp/gubbins-web/cypress/screenshots
0 commit comments