Skip to content

Commit d75dd8c

Browse files
merge tasks to avoid duplication
1 parent e52eae4 commit d75dd8c

2 files changed

Lines changed: 7 additions & 28 deletions

File tree

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

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -208,30 +208,6 @@ jobs:
208208
headless: 'true'
209209
useCsp: 'true'
210210

211-
qunit-tests-no-csp:
212-
needs: build
213-
runs-on: devextreme-shr2
214-
name: ${{ matrix.constel }}-no-csp
215-
timeout-minutes: 25
216-
strategy:
217-
fail-fast: false
218-
matrix:
219-
constel: [ 'misc(1/2)', 'misc(2/2)' ]
220-
221-
steps:
222-
- name: Get sources
223-
uses: actions/checkout@v4
224-
225-
- name: Run QUnit tests
226-
uses: ./.github/actions/run-qunit-tests
227-
with:
228-
name: ${{ matrix.constel }}-no-csp
229-
constel: ${{ matrix.constel }}
230-
browser: 'chrome'
231-
useJQuery: 'true'
232-
headless: 'true'
233-
useCsp: 'false'
234-
235211
notify:
236212
runs-on: devextreme-shr2
237213
name: Send notifications
@@ -240,7 +216,6 @@ jobs:
240216
# qunit-tests-performance,
241217
qunit-tests-mobile-and-shadow-dom,
242218
qunit-tests-firefox,
243-
qunit-tests-no-csp
244219
]
245220
if: github.event_name != 'pull_request' && contains(needs.*.result, 'failure')
246221

.github/workflows/qunit_tests.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,16 @@ jobs:
9696
viz
9797
]
9898
TIMEZONE: ['']
99+
CSP: ['true']
99100
include:
100101
- CONSTEL: ui.scheduler(1/2)
101102
TIMEZONE: US/Pacific
103+
CSP: 'true'
102104
- CONSTEL: ui.scheduler(2/2)
103105
TIMEZONE: US/Pacific
106+
CSP: 'true'
107+
- CONSTEL: misc
108+
CSP: 'false'
104109

105110
steps:
106111
- name: Get sources
@@ -109,11 +114,10 @@ jobs:
109114
- name: Run QUnit tests
110115
uses: ./.github/actions/run-qunit-tests
111116
with:
112-
name: Constel ${{ matrix.CONSTEL }}${{ matrix.TIMEZONE != '' && format('-{0}', matrix.TIMEZONE) || '' }}
117+
name: Constel ${{ matrix.CONSTEL }}${{ matrix.TIMEZONE != '' && format('-{0}', matrix.TIMEZONE) || '' }}${{ matrix.CSP == 'false' && '-no-csp' || '' }}
113118
constel: ${{ matrix.CONSTEL }}
114119
timezone: ${{ matrix.TIMEZONE }}
115-
useCsp: 'false'
116-
# useCsp: 'true'
120+
useCsp: ${{ matrix.CSP }}
117121

118122
notify:
119123
runs-on: devextreme-shr2

0 commit comments

Comments
 (0)