Menu: Items in adaptive mode should have links if item.url is set (T1181342) #26144
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Additional QUnit | |
concurrency: | |
group: wf-${{github.event.pull_request.number || github.sha}}-${{github.workflow}} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
push: | |
branches: [23_1] | |
jobs: | |
build: | |
runs-on: devextreme-shr2 | |
name: Build | |
timeout-minutes: 15 | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.16.1' | |
- name: Restore npm cache | |
uses: actions/cache@v3 | |
with: | |
path: ./node_modules | |
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: ${{ runner.os }}-node-modules | |
- name: Run npm install | |
run: npm install --no-audit --no-fund | |
- name: Build | |
env: | |
DEVEXTREME_TEST_CI: "true" | |
DOTNET_CLI_TELEMETRY_OPTOUT: "true" | |
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "true" | |
run: | | |
npm run build:dev | |
npm run build:systemjs | |
- name: Zip artifacts | |
run: | | |
7z a -tzip -mx3 -mmt2 artifacts.zip artifacts scss/bundles testing/tests/Renovation/widgets.json | |
- name: Upload build artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: devextreme-artifacts | |
path: artifacts.zip | |
retention-days: 1 | |
qunit-tests-timezones: | |
needs: build | |
runs-on: devextreme-shr2 | |
name: ${{ matrix.constel }}-${{ matrix.timezone }} | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
constel: [ | |
'misc(1/2)', | |
'misc(2/2)', | |
'ui.editors(1/2)', | |
'ui.editors(2/2)', | |
'ui.grid(1/2)', | |
'ui.grid(2/2)', | |
'ui.scheduler(1/3)', | |
'ui.scheduler(2/3)', | |
'ui.scheduler(3/3)' | |
] | |
timezone: [ 'PST8PDT', 'Japan', 'Australia/ACT', 'Europe/London' ] | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Run QUnit tests | |
uses: ./.github/actions/run-qunit-tests | |
with: | |
name: ${{ matrix.constel }}-${{ matrix.timezone }} | |
constel: ${{ matrix.constel }} | |
browser: 'chrome' | |
timezone: ${{ matrix.timezone }} | |
headless: 'true' | |
useJQuery: 'false' | |
useCsp: 'true' | |
qunit-tests-performance: | |
needs: build | |
runs-on: devextreme-shr2 | |
name: Performance | |
timeout-minutes: 15 | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Run QUnit tests | |
uses: ./.github/actions/run-qunit-tests | |
with: | |
name: 'Performance' | |
browser: 'chrome' | |
isPerformance: 'true' | |
useJQuery: 'true' | |
headless: 'false' | |
useCsp: 'false' | |
qunit-tests-mobile-and-shadow-dom: | |
needs: build | |
runs-on: devextreme-shr2 | |
name: ${{ matrix.constel }}-${{ matrix.kind }} | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
constel: [ | |
'ui', | |
'ui.widgets(1/3)', | |
'ui.widgets(2/3)', | |
'ui.widgets(3/3)', | |
'ui.editors(1/2)', | |
'ui.editors(2/2)', | |
'ui.htmlEditor', | |
'ui.grid(1/2)', | |
'ui.grid(2/2)', | |
'ui.scheduler(1/3)', | |
'ui.scheduler(2/3)', | |
'ui.scheduler(3/3)', | |
'viz' | |
] | |
kind: [ 'shadow-dom', 'ios10', 'android6' ] | |
include: | |
- headless: false | |
- kind: 'shadow-dom' | |
userAgent: '' | |
useShadowDom: true | |
- kind: 'ios10' | |
userAgent: 'ios10' | |
- kind: 'android6' | |
userAgent: 'android6' | |
useJQuery: true | |
- constel: 'ui' | |
headless: true | |
- constel: 'viz' | |
headless: true | |
exclude: | |
- kind: 'shadow-dom' | |
constel: 'ui' | |
- kind: 'shadow-dom' | |
constel: 'ui.scheduler(1/3)' | |
- kind: 'shadow-dom' | |
constel: 'ui.scheduler(2/3)' | |
- kind: 'shadow-dom' | |
constel: 'ui.scheduler(3/3)' | |
- kind: 'shadow-dom' | |
constel: 'viz' | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Run QUnit tests | |
uses: ./.github/actions/run-qunit-tests | |
with: | |
name: ${{ matrix.constel }}-${{ matrix.kind }} | |
constel: ${{ matrix.constel }} | |
browser: 'chrome' | |
useJQuery: ${{ matrix.useJquery || 'false' }} | |
userAgent: ${{ matrix.userAgent }} | |
useShadowDom: ${{ matrix.useShadowDom }} | |
headless: ${{ matrix.headless }} | |
useCsp: 'true' | |
qunit-tests-firefox: | |
needs: build | |
runs-on: devextreme-shr2 | |
name: ${{ matrix.constel }}-firefox | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
constel: [ | |
'export', | |
'misc', | |
'ui', | |
'ui.editors(1/2)', | |
'ui.editors(2/2)', | |
'ui.htmlEditor', | |
'ui.grid(1/2)', | |
'ui.grid(2/2)', | |
'ui.scheduler(1/3)', | |
'ui.scheduler(2/3)', | |
'ui.scheduler(3/3)', | |
'viz', | |
'renovation' | |
] | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Run QUnit tests | |
uses: ./.github/actions/run-qunit-tests | |
with: | |
name: ${{ matrix.constel }}-firefox | |
constel: ${{ matrix.constel }} | |
browser: 'firefox' | |
useJQuery: 'true' | |
headless: 'true' | |
useCsp: 'true' | |
qunit-tests-no-csp: | |
needs: build | |
runs-on: devextreme-shr2 | |
name: ${{ matrix.constel }}-no-csp | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
constel: [ 'export', 'misc(1/2)', 'misc(2/2)', 'ui.htmlEditor' ] | |
steps: | |
- name: Get sources | |
uses: actions/checkout@v3 | |
- name: Run QUnit tests | |
uses: ./.github/actions/run-qunit-tests | |
with: | |
name: ${{ matrix.constel }}-no-csp | |
constel: ${{ matrix.constel }} | |
browser: 'chrome' | |
useJQuery: 'true' | |
headless: 'true' | |
useCsp: 'false' | |
notify: | |
runs-on: devextreme-shr2 | |
name: Send notifications | |
needs: [ | |
build, | |
qunit-tests-timezones, | |
qunit-tests-performance, | |
qunit-tests-mobile-and-shadow-dom, | |
qunit-tests-firefox, | |
qunit-tests-no-csp | |
] | |
if: always() && contains(needs.*.result, 'failure') | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: DevExpress/github-actions/send-teams-notification@main | |
with: | |
hook_url: ${{secrets.TEAMS_ALERT}} | |
bearer_token: ${{secrets.GITHUB_TOKEN}} | |
specific_repo: DevExpress/DevExtreme | |
specific_branch: 23_1 |