Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to GitHub Actions #197

Merged
merged 2 commits into from
Mar 5, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: CI Build

on:
push:
branches:
- master
- 'v*'
pull_request: {}
schedule:
- cron: '0 3 * * *' # daily, at 3am

jobs:
test:
name: Tests
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-latest, macOS-latest]

steps:
- if: matrix.os == 'macOS-latest'
run: |
brew update
brew cask install google-chrome
brew cask install firefox
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: install dependencies
run: yarn install
- name: lint
run: |
yarn lint:js
- name: test
run: yarn test

try-scenarios:
name: ${{ matrix.ember-try-scenario }}

runs-on: ubuntu-latest

needs: test

strategy:
fail-fast: true
matrix:
ember-try-scenario:
- ember-lts-3.4
- ember-lts-3.8
- ember-lts-3.12
- ember-release
- ember-beta
- ember-canary
- ember-default
- ember-default-with-jquery

steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 10.x
- name: install dependencies
run: yarn install
- name: test
env:
EMBER_TRY_SCENARIO: ${{ matrix.ember-try-scenario }}
run: node_modules/.bin/ember try:one $EMBER_TRY_SCENARIO
60 changes: 0 additions & 60 deletions .travis.yml

This file was deleted.

8 changes: 8 additions & 0 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ module.exports = async function() {
}
}
},
{
name: 'ember-lts-3.12',
npm: {
devDependencies: {
'ember-source': '~3.12.0',
},
},
},
{
name: 'ember-release',
npm: {
Expand Down