Skip to content

Commit

Permalink
Merge pull request #63 from simonihmig/ghactions
Browse files Browse the repository at this point in the history
Move CI to Github Actions
  • Loading branch information
ef4 authored Nov 6, 2020
2 parents df83bf6 + 48d5824 commit c35a41d
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 21 deletions.
74 changes: 74 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
name: CI

on:
push:
branches:
- master
tags:
- '*'
pull_request:
schedule:
- cron: '0 8 * * 1' # Mondays at 8am

jobs:
test:
name: Tests
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: 10
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Lint
run: yarn lint
- name: Test
run: yarn test

test-no-lock:
name: Floating Dependencies
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: 10
- name: Install dependencies
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Test
run: yarn test

test-try:
name: Additional Tests
runs-on: ubuntu-latest
needs:
- test
strategy:
matrix:
scenario:
- ember-lts-3.16
- ember-lts-3.20
- ember-release
- ember-beta
- ember-canary
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Setup node.js
uses: actions/setup-node@v1
with:
node-version: 10
- name: Install dependencies
uses: bahmutov/npm-install@v1
- name: Test
run: yarn ember try:one ${{ matrix.scenario }}
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions config/ember-try.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const getChannelURL = require('ember-source-channel-url');
module.exports = async function() {
return {
useYarn: true,
command: 'yarn test',
scenarios: [
{
name: 'ember-lts-3.16',
Expand Down

0 comments on commit c35a41d

Please sign in to comment.