test: Spectron (Initial commit) (#838)

* Spectron - Initial commit

* Spectron - Only run unit tests on travis

* Spectron - Update npm script to copy config and refactor

* Spectron - Update readme

* Spectron - update test cases

* Spectron - Merge upstream Spectron

* Spectron - Update spectron to 10.0.0 and fix issues

* Spectron - rename travis file

* Spectron - install linux specific dependency

* Spectron - Fix indentation

* Spectron - Fix indentation

* Spectron - Remove unwanted script

* fix typo
This commit is contained in:
Kiran Niranjan
2020-03-18 11:15:00 +05:30
committed by GitHub
parent e29e76f558
commit 873badf389
22 changed files with 4216 additions and 50 deletions

View File

@@ -13,14 +13,17 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm config set package-lock false
- run: npm install
- run: npm test
env:
CI: true
ELECTRON_QA: true
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm config set package-lock false
- name: install linux dependency
if: startsWith(matrix.os,'ubuntu')
run: sudo apt-get install libxtst-dev
- run: npm install
- run: npm test
env:
CI: true
ELECTRON_QA: true