Skip to content

feat: Implement standalone mocha runner and loader #5

feat: Implement standalone mocha runner and loader

feat: Implement standalone mocha runner and loader #5

Workflow file for this run

on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
name: Build and Test
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
vscode-version: ['stable', 'insiders']
vscode-platform: ['desktop']
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: lts/*
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
- uses: dorny/test-reporter@v1
if: always()
with:
artifact: test-results
name: VS Code Tests
path: 'test-results/*.json'
reporter: mocha-json