Skip to content

Bump @wdio/mocha-framework from 8.41.0 to 9.5.0 in /packages/databricks-vscode #56

Bump @wdio/mocha-framework from 8.41.0 to 9.5.0 in /packages/databricks-vscode

Bump @wdio/mocha-framework from 8.41.0 to 9.5.0 in /packages/databricks-vscode #56

Workflow file for this run

name: Unit Tests
on:
pull_request:
types: [opened, synchronize]
jobs:
unit-test-extension:
name: Run unit tests
strategy:
fail-fast: false
matrix:
arch:
- cli_arch: darwin_amd64
os: macos-latest
- cli_arch: windows_amd64
os: windows-latest
node-version: [18.x]
vscode-version: [stable]
runs-on: ${{ matrix.arch.os }}
env:
VSCODE_TEST_VERSION: ${{ matrix.vscode-version }}
CLI_ARCH: ${{ matrix.arch.cli_arch }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Cache VSCode unit test runner
uses: actions/cache@v3
with:
path: /tmp/vscode-test-databricks
key: ${{ matrix.arch.cli_arch }}-${{ matrix.vscode-version }}-vscode-test
- run: yarn install --immutable
- name: Prettier and Linting
run: yarn run test:lint
working-directory: packages/databricks-vscode
- name: Fetching Databricks CLI
run: yarn run package:cli:fetch
working-directory: packages/databricks-vscode
env:
GH_TOKEN: ${{ github.token }}
- name: Building packages
run: yarn run build
- name: Unit Tests with Coverage
uses: coactions/setup-xvfb@v1
with:
run: yarn run test:cov
working-directory: packages/databricks-vscode