Skip to content

Inline hover

Inline hover #83

Workflow file for this run

name: Build and test
on:
push:
branches:
- main
- master
- develop
pull_request:
types: [opened, reopened, synchronize]
jobs:
unit-test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# Without this a failure in one OS will cancel jobs running for others
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: xvfb-run -a npm test
if: runner.os == 'Linux'
- run: npm test
if: runner.os != 'Linux'
functional-test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
# Without this a failure in one OS will cancel jobs running for others
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- run: npm install
- run: npm run compile-tests
- run: echo "Run acceptance tests" && node ./out/test/runFunctionalTests.js
if: runner.os == 'macOS'
- run: echo "Run acceptance tests" && xvfb-run -a node ./out/test/runFunctionalTests.js
if: runner.os == 'Linux'
- run: echo "Run acceptance tests" && node .\out\test\runFunctionalTests.js
if: runner.os == 'Windows'