[Updated] Date in CHANGELOG.md: [4.11.0] - 2024-03-09 #239
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: Test | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
jobs: | |
test-linux: | |
name: Linux | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
VSCODE_VERSION: ['stable', 'minimum'] | |
experimental: [false] | |
include: | |
- VSCODE_VERSION: 'insiders' | |
experimental: true | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
cache: 'npm' | |
- name: Install | |
run: npm install | |
- name: Compile | |
run: npm run compile | |
- name: Webpack # test does not use it, but we are testing the webpack creation | |
run: | | |
npm run webpack | |
ls -all out/dist | |
- name: Test | |
run: | | |
/usr/bin/Xvfb :99 -screen 0 1024x768x24 > /dev/null 2>&1 & | |
sleep 3 | |
npm test | |
env: | |
DISPLAY: ':99.0' | |
test-windows: | |
name: Windows | |
runs-on: windows-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
VSCODE_VERSION: ['stable', 'minimum'] | |
experimental: [false] | |
include: | |
- VSCODE_VERSION: 'insiders' | |
experimental: true | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
cache: 'npm' | |
- name: Install | |
run: npm install | |
- name: Compile | |
run: npm run compile | |
- name: Add msbuild to PATH | |
uses: microsoft/setup-msbuild@v1.0.3 | |
- name: Test | |
run: npm test | |
test-mac: | |
name: MacOS | |
runs-on: macos-latest | |
strategy: | |
fail-fast: true | |
matrix: | |
VSCODE_VERSION: ['stable', 'minimum'] | |
experimental: [false] | |
include: | |
- VSCODE_VERSION: 'insiders' | |
experimental: true | |
continue-on-error: ${{ matrix.experimental }} | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
cache: 'npm' | |
- name: Install | |
run: npm install | |
- name: Compile | |
run: npm run compile | |
- name: Test | |
run: npm test |