Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]

jobs:
build:
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/default_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches:
- "[0-9][0-9]_[0-9]"

env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/demos_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,15 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]
workflow_dispatch:

env:
RUN_TESTS: ${{ (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'force all tests')) && 'true' || 'false' }}
RUN_TESTS: ${{ (github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'force all tests'))) && 'true' || 'false' }}

jobs:
check-should-run:
name: Check if tests should run
runs-on: devextreme-shr2
runs-on: ubuntu-latest
outputs:
should-run: ${{ steps.check.outputs.should-run }}
steps:
Expand Down
29 changes: 20 additions & 9 deletions .github/workflows/demos_visual_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]
workflow_dispatch:

env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
BUILD_TEST_INTERNAL_PACKAGE: true
RUN_TESTS: ${{ (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'force all tests')) && 'true' || 'false' }}
RUN_TESTS: ${{ (github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'force all tests'))) && 'true' || 'false' }}

jobs:
check-should-run:
name: Check if tests should run
runs-on: devextreme-shr2
runs-on: ubuntu-latest
outputs:
should-run: ${{ steps.check.outputs.should-run }}
steps:
Expand All @@ -31,8 +29,6 @@ jobs:
build:
runs-on: ubuntu-22.04
name: Build devextreme
needs: check-should-run
if: needs.check-should-run.outputs.should-run == 'true'
timeout-minutes: 20

steps:
Expand Down Expand Up @@ -73,13 +69,28 @@ jobs:
node ./tools/scripts/performance_log.js &
pnpm exec nx build devextreme

prepare-matrix:
name: Prepare testcafe matrix
runs-on: ubuntu-latest
needs: check-should-run
outputs:
strategy: ${{ steps.set.outputs.strategy }}
steps:
- name: Build matrix
id: set
run: |
if [ "${{ needs.check-should-run.outputs.should-run }}" = "true" ]; then
echo 'strategy=["screenshots","accessibility"]' >> $GITHUB_OUTPUT
else
echo 'strategy=["accessibility"]' >> $GITHUB_OUTPUT
fi

testcafe:
needs: [check-should-run, build]
if: needs.check-should-run.outputs.should-run == 'true'
needs: [prepare-matrix, build]
strategy:
fail-fast: false
matrix:
STRATEGY: [screenshots, accessibility]
STRATEGY: ${{ fromJSON(needs.prepare-matrix.outputs.strategy) }}
THEME: ['generic.light', 'material.blue.light', 'fluent.blue.light']
CONSTEL: [jquery(1/4), jquery(2/4), jquery(3/4), jquery(4/4)]
env:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/demos_visual_tests_frameworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,17 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]
workflow_dispatch:

env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
BUILD_TEST_INTERNAL_PACKAGE: true
RUN_TESTS: ${{ (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'force all tests')) && 'true' || 'false' }}
RUN_TESTS: ${{ (github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'force all tests'))) && 'true' || 'false' }}

jobs:
check-should-run:
name: Check if tests should run
runs-on: devextreme-shr2
runs-on: ubuntu-latest
outputs:
should-run: ${{ steps.check.outputs.should-run }}
steps:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]

env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]

env:
MAX_LENGTH: 170
Expand Down
21 changes: 16 additions & 5 deletions .github/workflows/playgrounds_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,27 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]
workflow_dispatch:

env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
RUN_TESTS: ${{ (github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'force all tests'))) && 'true' || 'false' }}

jobs:
check-should-run:
name: Check if tests should run
runs-on: ubuntu-latest
outputs:
should-run: ${{ steps.check.outputs.should-run }}
steps:
- name: Check RUN_TESTS flag
id: check
run: echo "should-run=${{ env.RUN_TESTS }}" >> $GITHUB_OUTPUT

build:
name: build
strategy:
fail-fast: false
needs: check-should-run
if: needs.check-should-run.outputs.should-run == 'true'

runs-on: devextreme-shr2
timeout-minutes: 15
Expand Down Expand Up @@ -73,7 +83,8 @@ jobs:

test:
name: ${{ matrix.ARGS.platform }}
needs: [build]
needs: [check-should-run, build]
if: needs.check-should-run.outputs.should-run == 'true'
strategy:
fail-fast: false
matrix:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/qunit_tests-additional-renovation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]
workflow_dispatch:

env:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/qunit_tests-renovation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]

env:
NX_SKIP_NX_CACHE: true
Expand Down
15 changes: 13 additions & 2 deletions .github/workflows/renovation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,25 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]

env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
RUN_TESTS: ${{ (github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'force all tests'))) && 'true' || 'false' }}

jobs:
check-should-run:
name: Check if tests should run
runs-on: ubuntu-latest
outputs:
should-run: ${{ steps.check.outputs.should-run }}
steps:
- name: Check RUN_TESTS flag
id: check
run: echo "should-run=${{ env.RUN_TESTS }}" >> $GITHUB_OUTPUT

jest-tests:
needs: check-should-run
if: needs.check-should-run.outputs.should-run == 'true'
runs-on: devextreme-shr2
timeout-minutes: 60
steps:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/styles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ on:
pull_request:
paths-ignore:
- 'apps/**/*.md'
push:
branches: [24_2]

env:
NX_SKIP_NX_CACHE: ${{ (github.event_name != 'pull_request' || contains( github.event.pull_request.labels.*.name, 'skip-cache')) && 'true' || 'false' }}
Expand Down
Loading
Loading