Skip to content

Commit e52eae4

Browse files
QUnit tests: get rid of unnecessary timezone tests
1 parent 7e18f43 commit e52eae4

2 files changed

Lines changed: 25 additions & 42 deletions

File tree

.github/workflows/qunit_tests-additional-renovation.yml

Lines changed: 0 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -72,42 +72,6 @@ jobs:
7272
path: packages/devextreme/artifacts.zip
7373
retention-days: 1
7474

75-
qunit-tests-timezones:
76-
needs: build
77-
runs-on: devextreme-shr2
78-
name: ${{ matrix.constel }}-${{ matrix.timezone }}
79-
timeout-minutes: 25
80-
strategy:
81-
fail-fast: false
82-
matrix:
83-
constel: [
84-
'misc(1/2)',
85-
'misc(2/2)',
86-
'ui.editors(1/2)',
87-
'ui.editors(2/2)',
88-
'ui.grid(1/2)',
89-
'ui.grid(2/2)',
90-
'ui.scheduler(1/3)',
91-
'ui.scheduler(2/3)',
92-
'ui.scheduler(3/3)'
93-
]
94-
timezone: [ 'US/Pacific', 'Japan', 'Australia/ACT', 'Europe/London' ]
95-
96-
steps:
97-
- name: Get sources
98-
uses: actions/checkout@v4
99-
100-
- name: Run QUnit tests
101-
uses: ./.github/actions/run-qunit-tests
102-
with:
103-
name: ${{ matrix.constel }}-${{ matrix.timezone }}
104-
constel: ${{ matrix.constel }}
105-
browser: 'chrome'
106-
timezone: ${{ matrix.timezone }}
107-
headless: 'true'
108-
useJQuery: 'false'
109-
useCsp: 'true'
110-
11175
# TODO Chrome133: skipped during chrome update
11276
# We should run performance tests with non headless chrome
11377
# It fails in headless mode
@@ -273,7 +237,6 @@ jobs:
273237
name: Send notifications
274238
needs: [
275239
build,
276-
qunit-tests-timezones,
277240
# qunit-tests-performance,
278241
qunit-tests-mobile-and-shadow-dom,
279242
qunit-tests-firefox,

.github/workflows/qunit_tests-renovation.yml renamed to .github/workflows/qunit_tests.yml

Lines changed: 25 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: QUnit tests for renovation
1+
name: QUnit tests
22

33
concurrency:
44
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}}
@@ -77,12 +77,30 @@ jobs:
7777
qunit-tests:
7878
needs: build
7979
runs-on: devextreme-shr2
80-
name: Constel ${{ matrix.CONSTEL }}
80+
name: Constel ${{ matrix.CONSTEL }}${{ matrix.TIMEZONE != '' && format('-{0}', matrix.TIMEZONE) || '' }}
8181
timeout-minutes: 60
8282
strategy:
8383
fail-fast: false
8484
matrix:
85-
CONSTEL: [ export, misc, ui, ui.widgets(1/2), ui.widgets(2/2), ui.editors, ui.htmlEditor, ui.grid, ui.scheduler(1/2), ui.scheduler(2/2), viz ]
85+
CONSTEL: [
86+
export,
87+
misc,
88+
ui,
89+
ui.widgets(1/2),
90+
ui.widgets(2/2),
91+
ui.editors,
92+
ui.htmlEditor,
93+
ui.grid,
94+
ui.scheduler(1/2),
95+
ui.scheduler(2/2),
96+
viz
97+
]
98+
TIMEZONE: ['']
99+
include:
100+
- CONSTEL: ui.scheduler(1/2)
101+
TIMEZONE: US/Pacific
102+
- CONSTEL: ui.scheduler(2/2)
103+
TIMEZONE: US/Pacific
86104

87105
steps:
88106
- name: Get sources
@@ -91,9 +109,11 @@ jobs:
91109
- name: Run QUnit tests
92110
uses: ./.github/actions/run-qunit-tests
93111
with:
94-
name: Constel ${{ matrix.CONSTEL }}
112+
name: Constel ${{ matrix.CONSTEL }}${{ matrix.TIMEZONE != '' && format('-{0}', matrix.TIMEZONE) || '' }}
95113
constel: ${{ matrix.CONSTEL }}
96-
useCsp: "false"
114+
timezone: ${{ matrix.TIMEZONE }}
115+
useCsp: 'false'
116+
# useCsp: 'true'
97117

98118
notify:
99119
runs-on: devextreme-shr2

0 commit comments

Comments
 (0)