Update GitHub Actions CI to include pull requests (#6705)

* Update GitHub Actions CI to include pull requests

Update GitHub Actions CI to include pull requests, and limit both triggers to the master branch.

* Run coveralls publish on bash

Always run coveralls publish on bash - on Windows, the default shell is PowerShell but that is not appropriate for this workflow.

* Run GitHub Actions against the 2.9 branch
* Temporarily remove macOS continuous integration

Chrome is unhappy executing the tests after an update to macOS Catalina.
Remove macOS CI until that can be resolved.
This commit is contained in:
Edward Thomson 2019-12-04 09:52:39 +11:00 committed by Evert Timberg
parent 07890d9620
commit f615035926

View File

@ -1,6 +1,14 @@
name: CI name: CI
on: [push] on:
push:
branches:
- master
- "2.9"
pull_request:
branches:
- master
- "2.9"
jobs: jobs:
build: build:
@ -8,7 +16,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: [ubuntu-latest, windows-latest, macos-latest] os: [ubuntu-latest, windows-latest]
fail-fast: false fail-fast: false
steps: steps:
@ -46,4 +54,5 @@ jobs:
gulp bower gulp bower
- name: Publish Test Results - name: Publish Test Results
run: cat ./coverage/lcov.info | ./node_modules/.bin/coveralls run: cat ./coverage/lcov.info | ./node_modules/.bin/coveralls
shell: bash
continue-on-error: true continue-on-error: true