Skip to content

Commit e4636e8

Browse files
Merge branch '25_1' into 25_1_ng_leak_click
2 parents 9db9b67 + bdabe78 commit e4636e8

File tree

15,181 files changed

+83338
-78141
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

15,181 files changed

+83338
-78141
lines changed

.github/actions/run-qunit-tests/action.yml

Lines changed: 13 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ inputs:
77
required: true
88
constel:
99
description: "Name of the test group"
10-
browser:
11-
description: "Name of the browser"
12-
default: "chrome"
1310
useJQuery:
1411
description: "Indicates if jQuery should be used"
1512
default: "false"
@@ -22,15 +19,15 @@ inputs:
2219
timezone:
2320
description: "Timezone for the test environment"
2421
default: ""
25-
isPerformance:
26-
description: "Indicates if performance testing should be conducted"
27-
default: "false"
2822
headless:
2923
description: "Specifies if the browser should run in headless mode"
3024
default: "true"
3125
useCsp:
3226
description: "Indicates if tests should run with Content Security Policy (CSP) enabled"
3327
default: "true"
28+
maxWorkers:
29+
description: "Maximum number of parallel test workers"
30+
default: ""
3431

3532
runs:
3633
using: composite
@@ -42,43 +39,15 @@ runs:
4239
echo "MATRIX_ENVS_NAME_SAFE=$MATRIX_ENVS_NAME_SAFE"
4340
echo "MATRIX_ENVS_NAME_SAFE=$MATRIX_ENVS_NAME_SAFE" >> $GITHUB_ENV
4441
45-
# - name: Update apt
46-
# run: |
47-
# sudo apt-get update
48-
49-
# - name: Setup utils
50-
# run: |
51-
# sudo apt-get install -y dbus-x11 httping x11vnc xvfb
42+
# - name: Setup Chrome
43+
# uses: ./.github/actions/setup-chrome-headless-shell
44+
# with:
45+
# chrome-version: '141.0.7390.122'
5246

53-
- name: Setup Chrome
54-
if: ${{ inputs.browser == 'chrome' }}
55-
uses: ./.github/actions/setup-chrome-headless-shell
56-
with:
57-
chrome-version: '133.0.6943.53'
58-
59-
- name: Setup Firefox profile
60-
if: ${{ inputs.browser == 'firefox' }}
61-
shell: bash
62-
run: |
63-
mkdir -p /tmp/firefox-profile
64-
for p in \
65-
'"browser.shell.checkDefaultBrowser", false' \
66-
'"datareporting.policy.dataSubmissionEnabled", false' \
67-
'"font.name-list.monospace.x-western", "Liberation Mono"' \
68-
'"font.name-list.sans-serif.x-western", "Liberation Sans"' \
69-
'"font.name-list.serif.x-western", "Liberation Serif"' ; do echo "user_pref($p);" >> /tmp/firefox-profile/prefs.js; done
70-
71-
- name: Setup Firefox
72-
if: ${{ inputs.browser == 'firefox' }}
73-
id: setup-firefox
74-
uses: browser-actions/setup-firefox@v1
75-
with:
76-
firefox-version: '122.0.1'
77-
78-
- name: Use Node.js
79-
uses: actions/setup-node@v4
80-
with:
81-
node-version: '20'
47+
# - name: Use Node.js
48+
# uses: actions/setup-node@v4
49+
# with:
50+
# node-version: '20'
8251

8352
- name: Download artifacts
8453
uses: actions/download-artifact@v4
@@ -127,25 +96,22 @@ runs:
12796
shell: bash
12897
env:
12998
CONSTEL: ${{ inputs.constel }}
130-
BROWSER: ${{ inputs.browser }}
13199
JQUERY: ${{ inputs.useJQuery }}
132-
MOBILE_UA: ${{ inputs.userAgent }}
133100
SHADOW_DOM: ${{ inputs.useShadowDom }}
134101
TZ: ${{ inputs.timezone }}
135-
PERF: ${{ inputs.isPerformance }}
136102
NO_HEADLESS: ${{ inputs.headless == 'false' && 'true' || 'false' }}
137103
NO_CSP: ${{ inputs.useCsp == 'false' && 'true' || 'false' }}
138104
NORENOVATION: "false"
139105
GITHUBACTION: "true"
140106
TARGET: "test"
141-
DISPLAY: ":99"
142107
CHROME_CMD: ${{ env.CHROME_SHELL }}
108+
MAX_WORKERS: ${{ inputs.maxWorkers }}
143109
run: |
144110
chmod +x ./docker-ci.sh
145111
./docker-ci.sh
146112
147113
- name: Copy RawLog.txt
148-
if: ${{ failure() }}
114+
if: ${{ always() }}
149115
uses: actions/upload-artifact@v4
150116
with:
151117
name: RawLog-${{ env.MATRIX_ENVS_NAME_SAFE }}

.github/codeql/codeql-config.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ paths-ignore:
44
- "/artifacts/**"
55
- "/packages/devextreme/artifacts/transpiled/**" # not prod code
66
- "/packages/devextreme/artifacts/transpiled-esm-npm/**" # not prod code
7-
- "/packages/devextreme/artifacts/transpiled-renovation/**" # not prod code
87
- "/packages/devextreme/artifacts/transpiled-renovation-npm/**" # not prod code
98
- "/packages/devextreme/artifacts/npm/devextreme-dist/**" # same as artifacts/js, removed to optimize
109
- "/packages/devextreme/artifacts/npm/devextreme/cjs/**" # same as npm/devextreme/esm/**, removed to optimize

.github/workflows/demos_unit_tests.yml

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,27 @@ on:
99
paths-ignore:
1010
- 'apps/**/*.md'
1111
push:
12-
branches:
13-
- "[0-9][0-9]_[0-9]"
12+
branches: [25_1]
13+
workflow_dispatch:
14+
15+
env:
16+
RUN_TESTS: true
1417

1518
jobs:
19+
check-should-run:
20+
name: Check if tests should run
21+
runs-on: devextreme-shr2
22+
outputs:
23+
should-run: ${{ steps.check.outputs.should-run }}
24+
steps:
25+
- name: Check RUN_TESTS flag
26+
id: check
27+
run: echo "should-run=${{ env.RUN_TESTS }}" >> $GITHUB_OUTPUT
28+
1629
test:
1730
name: Run unit tests
31+
needs: check-should-run
32+
if: needs.check-should-run.outputs.should-run == 'true'
1833

1934
runs-on: ubuntu-latest
2035
timeout-minutes: 60

0 commit comments

Comments
 (0)