nodeguy/.github/workflows/test.yml
Atul R 6ac7303e16
Adds automatic test and linting on pull requests for nodegui (#215)
* adds test action

* make c++11 mandatory

* fix

* fix

* fix broken tests in windows

* upgrade qode to 1.0.6

* Fixes recursive hell for layouts

* adds cross env for windows

* change to pull request
2019-11-22 23:43:54 +01:00

26 lines
759 B
YAML

on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-18.04, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@master
with:
node-version: '13.x'
- name: Install deps
run: npm install
- name: Build nodegui
run: npm run build
- name: Run tests
run: npm run test
- name: Run linters for cpp
run: npm run lint:cpp
- name: Run linters for ts
run: npm run lint:ts