Merge branch '21_1' of https://github.com/DevExpress/DevExtreme into … #683
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: QUnit tests | |
on: [push, pull_request] | |
jobs: | |
qunit-tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
NORENOVATION: [ true ] | |
BROWSER: [ google-chrome ] | |
CONSTEL: [ export, misc, ui, ui.widgets, ui.editors, ui.grid, ui.scheduler, viz, renovation ] | |
JQUERY: [ jquery=3 ] | |
runs-on: ubuntu-latest | |
timeout-minutes: 60 | |
steps: | |
- name: Setup utils | |
run: | | |
sudo apt-get install -y dbus-x11 httping x11vnc xvfb | |
- name: Get sources | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '15' | |
# - name: Restore npm cache | |
# uses: actions/cache@v2 | |
# with: | |
# path: ./node_modules | |
# key: ${{ runner.os }}-node-modules-v4-${{ hashFiles('**/package.json') }} | |
# restore-keys: | | |
# ${{ runner.os }}-node-modules-v4 | |
- name: Run npm install | |
run: npm install --no-package-lock --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 | |
- name: Run QUnit tests | |
env: | |
CONSTEL: ${{ matrix.CONSTEL }} | |
JQUERY: ${{ matrix.JQUERY }} | |
BROWSER: ${{ matrix.BROWSER }} | |
NORENOVATION: ${{ matrix.NORENOVATION }} | |
GITHUBACTION: "true" | |
TARGET: "test" | |
run: | | |
chmod +x ./docker-ci.sh | |
./docker-ci.sh |