Skip to content

Commit

Permalink
Merge pull request #824 from emberjs/migrate-to-github-actions
Browse files Browse the repository at this point in the history
Migrate CI to GitHub Actions.
  • Loading branch information
rwjblue authored Apr 21, 2020
2 parents ccbde88 + 1a99615 commit 034c144
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 83 deletions.
66 changes: 66 additions & 0 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
name: CI Build

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

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

steps:
- uses: actions/checkout@v2
- uses: volta-cli@action@v1
with:
node-version: 10.x
- run: yarn install --frozen-lockfile
- run: yarn lint:js
- run: yarn test

floating-dependencies:
name: "Floating Dependencies"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: volta-cli@action@v1
with:
node-version: 10.x
- run: yarn install --no-lockfile
- run: yarn test

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

runs-on: ubuntu-latest

needs: test

strategy:
fail-fast: true
matrix:
ember-try-scenario:
- ember-lts-3.8
- ember-lts-3.12
- ember-lts-3.16
- ember-release
- ember-beta
- ember-canary
- ember-default-with-jquery
- ember-without-application-wrapper

steps:
- uses: actions/checkout@v2
- uses: volta-cli@action@v1
with:
node-version: 12.x
- name: install dependencies
run: yarn install --frozen-lockfile
- name: test
run: node_modules/.bin/ember try:one ${{ matrix.ember-try-scenario }} --skip-cleanup
81 changes: 0 additions & 81 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
@ember/test-helpers
==============================================================================

[![Build Status](https://secure.travis-ci.org/emberjs/ember-test-helpers.svg?branch=master)](http://travis-ci.org/emberjs/ember-test-helpers)

A test-framework-agnostic set of helpers for testing Ember.js applications


Expand Down
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,9 @@
"github": {
"release": true
}
},
"volta": {
"node": "10.20.1",
"yarn": "1.22.4"
}
}

0 comments on commit 034c144

Please sign in to comment.