Skip to content

Commit e4d92d4

Browse files
committed
Update test config
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent b862c1c commit e4d92d4

File tree

1 file changed

+23
-4
lines changed

1 file changed

+23
-4
lines changed

.github/workflows/docker-test.yml

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,46 +39,64 @@ jobs:
3939
test-video: false
4040
build-all: true
4141
os: ubuntu-24.04
42+
firefox-install-lang-package:
43+
enable-managed-downloads:
4244
- test-strategy: test
4345
use-random-user: false
4446
test-video: false
4547
build-all: true
4648
os: ubuntu-24.04
49+
firefox-install-lang-package:
50+
enable-managed-downloads:
4751
- test-strategy: test_video
4852
use-random-user: false
4953
test-video: true
5054
build-all: false
5155
os: ubuntu-24.04
56+
firefox-install-lang-package:
57+
enable-managed-downloads:
5258
- test-strategy: test_video_dynamic_name
5359
use-random-user: false
5460
test-video: true
5561
build-all: false
5662
os: ubuntu-24.04
63+
firefox-install-lang-package:
64+
enable-managed-downloads:
5765
- test-strategy: test_video_standalone
5866
use-random-user: false
5967
test-video: true
6068
build-all: false
6169
os: ubuntu-24.04
70+
firefox-install-lang-package:
71+
enable-managed-downloads:
6272
- test-strategy: test_node_docker
6373
use-random-user: false
6474
test-video: true
6575
build-all: false
6676
os: ubuntu-24.04
77+
firefox-install-lang-package:
78+
enable-managed-downloads:
6779
- test-strategy: test_standalone_docker
6880
use-random-user: false
6981
test-video: true
7082
build-all: false
7183
os: ubuntu-24.04
84+
firefox-install-lang-package:
85+
enable-managed-downloads:
7286
- test-strategy: test_parallel
7387
use-random-user: false
7488
test-video: false
7589
build-all: false
7690
os: ubuntu-24.04
91+
firefox-install-lang-package:
92+
enable-managed-downloads:
7793
- test-strategy: test_node_relay
7894
use-random-user: false
7995
test-video: false
8096
build-all: false
8197
os: ubuntu-24.04
98+
firefox-install-lang-package:
99+
enable-managed-downloads:
82100
###
83101
- test-strategy: test
84102
use-random-user: true
@@ -218,15 +236,16 @@ jobs:
218236
REQUEST_TIMEOUT: ${{ github.event.inputs.request-timeout || '400' }}
219237
- name: Set environment variables
220238
run: |
221-
TEST_FIREFOX_INSTALL_LANG_PACKAGE=${{ matrix.firefox-install-lang-package || '' }}
222239
if [ -n "${TEST_FIREFOX_INSTALL_LANG_PACKAGE}" ]; then
223240
echo "TEST_FIREFOX_INSTALL_LANG_PACKAGE=${TEST_FIREFOX_INSTALL_LANG_PACKAGE}" >> $GITHUB_ENV
224241
fi
225-
SELENIUM_ENABLE_MANAGED_DOWNLOADS=${{ matrix.enable-managed-downloads || '' }}
226242
if [ -n "${SELENIUM_ENABLE_MANAGED_DOWNLOADS}" ]; then
227243
echo "SELENIUM_ENABLE_MANAGED_DOWNLOADS=${SELENIUM_ENABLE_MANAGED_DOWNLOADS}" >> $GITHUB_ENV
228244
fi
229-
- name: Run Docker Compose to ${{ matrix.test-strategy }} on ${{ matrix.os }}
245+
env:
246+
TEST_FIREFOX_INSTALL_LANG_PACKAGE: ${{ matrix.firefox-install-lang-package }}
247+
SELENIUM_ENABLE_MANAGED_DOWNLOADS: ${{ matrix.enable-managed-downloads }}
248+
- name: Run Docker Compose to ${{ matrix.test-strategy }} on AMD64
230249
if: contains(matrix.os, 'arm') == false
231250
uses: nick-invision/retry@master
232251
with:
@@ -235,7 +254,7 @@ jobs:
235254
retry_wait_seconds: 60
236255
command: |
237256
USE_RANDOM_USER_ID=${{ matrix.use-random-user }} VERSION=${BRANCH} BUILD_DATE=${BUILD_DATE} make ${{ matrix.test-strategy }}
238-
- name: Run Docker Compose to ${{ matrix.test-strategy }} on ${{ matrix.os }}
257+
- name: Run Docker Compose to ${{ matrix.test-strategy }} on ARM64
239258
if: contains(matrix.os, 'arm') == true
240259
uses: nick-invision/retry@master
241260
with:

0 commit comments

Comments
 (0)