@@ -55,34 +55,39 @@ jobs:
5555 os : ubuntu-24.04
5656 firefox-install-lang-package :
5757 enable-managed-downloads :
58+ retain-on-failure :
5859 - test-strategy : test_video_dynamic_name
5960 use-random-user : false
6061 test-video : true
6162 build-all : false
6263 os : ubuntu-24.04
6364 firefox-install-lang-package :
6465 enable-managed-downloads :
66+ retain-on-failure :
6567 - test-strategy : test_video_standalone
6668 use-random-user : false
6769 test-video : true
6870 build-all : false
6971 os : ubuntu-24.04
7072 firefox-install-lang-package :
7173 enable-managed-downloads :
74+ retain-on-failure :
7275 - test-strategy : test_node_docker
7376 use-random-user : false
7477 test-video : true
7578 build-all : false
7679 os : ubuntu-24.04
7780 firefox-install-lang-package :
7881 enable-managed-downloads :
82+ retain-on-failure :
7983 - test-strategy : test_standalone_docker
8084 use-random-user : false
8185 test-video : true
8286 build-all : false
8387 os : ubuntu-24.04
8488 firefox-install-lang-package :
8589 enable-managed-downloads :
90+ retain-on-failure :
8691 - test-strategy : test_parallel
8792 use-random-user : false
8893 test-video : false
@@ -119,34 +124,39 @@ jobs:
119124 os : ubuntu-24.04-arm
120125 firefox-install-lang-package : true
121126 enable-managed-downloads : true
127+ retain-on-failure : true
122128 - test-strategy : test_video_dynamic_name
123129 use-random-user : false
124130 test-video : true
125131 build-all : false
126132 os : ubuntu-24.04-arm
127133 firefox-install-lang-package : true
128134 enable-managed-downloads : true
135+ retain-on-failure : true
129136 - test-strategy : test_video_standalone
130137 use-random-user : false
131138 test-video : true
132139 build-all : false
133140 os : ubuntu-24.04-arm
134141 firefox-install-lang-package : true
135142 enable-managed-downloads : true
136- - test-strategy : test_node_docker
143+ retain-on-failure : true
144+ - test-strategy : test_node_docker_video_sidecar
137145 use-random-user : false
138146 test-video : true
139147 build-all : false
140148 os : ubuntu-24.04-arm
141149 firefox-install-lang-package : true
142150 enable-managed-downloads : false
143- - test-strategy : test_standalone_docker
151+ retain-on-failure : true
152+ - test-strategy : test_standalone_docker_video_sidecar
144153 use-random-user : false
145154 test-video : true
146155 build-all : false
147156 os : ubuntu-24.04-arm
148157 firefox-install-lang-package : true
149158 enable-managed-downloads : true
159+ retain-on-failure : true
150160 - test-strategy : test_parallel
151161 use-random-user : false
152162 test-video : false
@@ -212,12 +222,13 @@ jobs:
212222 with :
213223 release : ${{ inputs.release || false }}
214224 gh_cli_token : ${{ secrets.GITHUB_TOKEN }}
225+ authors : ${{ vars.AUTHORS || github.repository_owner }}
215226 - name : Sets build date
216227 run : |
217228 echo "BUILD_DATE=$(date '+%Y%m%d')" >> $GITHUB_ENV
218229 echo "AUTHORS=${AUTHORS}" >> $GITHUB_ENV
219230 env :
220- AUTHORS : ${{ vars.AUTHORS || 'SeleniumHQ' }}
231+ AUTHORS : ${{ vars.AUTHORS || github.repository_owner }}
221232 - name : Build Docker images
222233 uses : nick-invision/retry@master
223234 if : matrix.build-all == true
@@ -245,9 +256,13 @@ jobs:
245256 if [ -n "${SELENIUM_ENABLE_MANAGED_DOWNLOADS}" ]; then
246257 echo "SELENIUM_ENABLE_MANAGED_DOWNLOADS=${SELENIUM_ENABLE_MANAGED_DOWNLOADS}" >> $GITHUB_ENV
247258 fi
259+ if [ -n "${TEST_RETAIN_ON_FAILURE}" ]; then
260+ echo "TEST_RETAIN_ON_FAILURE=${TEST_RETAIN_ON_FAILURE}" >> $GITHUB_ENV
261+ fi
248262 env :
249263 TEST_FIREFOX_INSTALL_LANG_PACKAGE : ${{ matrix.firefox-install-lang-package }}
250264 SELENIUM_ENABLE_MANAGED_DOWNLOADS : ${{ matrix.enable-managed-downloads }}
265+ TEST_RETAIN_ON_FAILURE : ${{ matrix.retain-on-failure }}
251266 - name : Run Docker Compose to ${{ matrix.test-strategy }} on AMD64
252267 if : contains(matrix.os, 'arm') == false
253268 uses : nick-invision/retry@master
@@ -267,6 +282,7 @@ jobs:
267282 command : |
268283 USE_RANDOM_USER_ID=${{ matrix.use-random-user }} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} \
269284 TEST_FIREFOX_INSTALL_LANG_PACKAGE=${TEST_FIREFOX_INSTALL_LANG_PACKAGE} SELENIUM_ENABLE_MANAGED_DOWNLOADS=${SELENIUM_ENABLE_MANAGED_DOWNLOADS} \
285+ TEST_RETAIN_ON_FAILURE=${TEST_RETAIN_ON_FAILURE} \
270286 make ${{ matrix.test-strategy }}
271287 - name : Upload recorded video
272288 if : matrix.test-video == true
0 commit comments