Skip to content

Commit

Permalink
Decrease lint task duration in frameworks tests (DevExpress#2926) (De…
Browse files Browse the repository at this point in the history
  • Loading branch information
Lykoi18 authored Oct 25, 2023
1 parent 779b259 commit 25a73d1
Show file tree
Hide file tree
Showing 4 changed files with 313 additions and 5 deletions.
19 changes: 17 additions & 2 deletions .github/workflows/visual_tests_frameworks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -493,14 +493,29 @@ jobs:
retention-days: 1

lint:
name: Lint code base
name: ${{ matrix.name }}
needs:
- build-demos
- build-documentation-meta

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

strategy:
fail-fast: false
matrix:
include:
- name: Lint code base (excluding demos)
command: npm run lint-non-demos
- name: Lint demos (1/4)
command: CONSTEL=1/4 npm run lint-demos
- name: Lint demos (2/4)
command: CONSTEL=2/4 npm run lint-demos
- name: Lint demos (3/4)
command: CONSTEL=3/4 npm run lint-demos
- name: Lint demos (4/4)
command: CONSTEL=4/4 npm run lint-demos

steps:
- name: Get sources
uses: actions/checkout@v3
Expand Down Expand Up @@ -537,7 +552,7 @@ jobs:
dotnet tool install -g dotnet-format --version 5.1.225507
- name: Run lint
run: npm run lint
run: ${{ matrix.command }}

testcafe:
needs: build-demos
Expand Down
Loading

0 comments on commit 25a73d1

Please sign in to comment.