Merge pull request #256 from bruin-data/release/v0.27.0-prep #287
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: tests | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- name: Install dependencies | |
run: npm run install:all | |
- name: Run extension tests | |
if: runner.os == 'Linux' | |
run: xvfb-run -a npm run test | |
- name: Run extension tests | |
if: runner.os != 'Linux' | |
run: npm run test --security-revert | |
- name: Run webview tests | |
run: npm run test:webview | |