Skip to content

Commit 4057493

Browse files
update
1 parent bbeddb8 commit 4057493

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

.github/workflows/demos_visual_tests_frameworks.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -161,13 +161,15 @@ jobs:
161161
uses: actions/checkout@v4
162162

163163
- name: Get changed files
164+
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'force all tests')
164165
uses: DevExpress/github-actions/get-changed-files@v1
165166
with:
166167
gh-token: ${{ secrets.GITHUB_TOKEN }}
167168
paths: 'apps/demos/Demos/**/*'
168169
output: apps/demos/changed-files.json
169170

170171
- name: Display changed files
172+
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'force all tests')
171173
run: |
172174
if [ -f "apps/demos/changed-files.json" ]; then
173175
echo "Found changed-files.json"
@@ -371,7 +373,6 @@ jobs:
371373
timeout-minutes: 10
372374
needs:
373375
- build-devextreme
374-
- get-changes
375376

376377
strategy:
377378
fail-fast: false
@@ -460,7 +461,7 @@ jobs:
460461
461462
testcafe:
462463
needs: build-demos
463-
if: github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'force all tests')
464+
if: contains(github.event.pull_request.labels.*.name, 'force all tests')
464465
strategy:
465466
fail-fast: false
466467
matrix:
@@ -492,6 +493,7 @@ jobs:
492493
name: devextreme-sources
493494

494495
- name: Download artifacts
496+
if: github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'force all tests')
495497
uses: actions/download-artifact@v4
496498
with:
497499
name: changed-demos

0 commit comments

Comments
 (0)