Skip to content

Added test for focusWindow #324

Added test for focusWindow

Added test for focusWindow #324

Workflow file for this run

name: Run CI
on:
push:
branches-ignore:
- develop
- release/**
pull_request:
jobs:
test:
strategy:
matrix:
os: [ ubuntu-20.04, macos-11, windows-2019 ]
node: [ 18 ]
runs-on: ${{matrix.os}}
steps:
- name: Set up Git repository
uses: actions/[email protected]
- name: Set up node
uses: actions/[email protected]
with:
node-version: ${{matrix.node}}
- name: Configure Linux environment
if: ${{matrix.os == 'ubuntu-20.04'}}
run: sudo apt-get install -y cmake libx11-dev zlib1g-dev libpng-dev libxtst-dev build-essential
- name: Install
run: npm run patch && npm i
- name: Build
run: npm run build:release
- name: Run tests
uses: GabrielBB/xvfb-action@v1
with:
working-directory: ./test/
run: npm cit
- name: Run window tests
uses: GabrielBB/xvfb-action@v1
with:
working-directory: ./test/window-integration-tests
run: npm cit