Skip to content

Commit

Permalink
fix nightly.yml (#6857)
Browse files Browse the repository at this point in the history
* fix nightly.yml

* add pull request event

* more fixes

* remove pull request trigger for nightly job

* fix lint

* Revert "remove pull request trigger for nightly job"

This reverts commit decbf7d.

* Revert "Revert "remove pull request trigger for nightly job""

This reverts commit 3290ad5.
  • Loading branch information
Gaurav0 authored and runspired committed Dec 5, 2019
1 parent 59f04ac commit 0fa5e3d
Show file tree
Hide file tree
Showing 8 changed files with 92 additions and 22 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@ name: 'Nightly'
on:
schedule:
- cron: '* 14 * * *' # 14:00 in UTC is 6am PST
branches:
- master

jobs:
test-all-deprecations:
strategy:
fail-fast: false
matrix:
scenario: [ember-beta, ember-canary]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
Expand Down
15 changes: 13 additions & 2 deletions packages/unpublished-adapter-encapsulation-test-app/testem.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
// eslint-disable-next-line node/no-unpublished-require
const customDotReporter = require('@ember-data/unpublished-test-infra/src/testem/custom-dot-reporter');

const TestIE = process.env.TEST_IE11;

if (TestIE) {
// eslint-disable-next-line no-console
console.log('\n\nLaunching with IE\n\n');
}

module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
reporter: 'dot',
launch_in_ci: ['Chrome'],
reporter: customDotReporter,
launch_in_ci: TestIE ? ['IE'] : ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 120,
browser_args: {
Chrome: {
ci: [
Expand Down
15 changes: 13 additions & 2 deletions packages/unpublished-debug-encapsulation-test-app/testem.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
// eslint-disable-next-line node/no-unpublished-require
const customDotReporter = require('@ember-data/unpublished-test-infra/src/testem/custom-dot-reporter');

const TestIE = process.env.TEST_IE11;

if (TestIE) {
// eslint-disable-next-line no-console
console.log('\n\nLaunching with IE\n\n');
}

module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
reporter: 'dot',
launch_in_ci: ['Chrome'],
reporter: customDotReporter,
launch_in_ci: TestIE ? ['IE'] : ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 120,
browser_args: {
Chrome: {
ci: [
Expand Down
14 changes: 12 additions & 2 deletions packages/unpublished-fastboot-test-app/testem.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,18 @@
// eslint-disable-next-line node/no-unpublished-require
const customDotReporter = require('@ember-data/unpublished-test-infra/src/testem/custom-dot-reporter');

const TestIE = process.env.TEST_IE11;

if (TestIE) {
// eslint-disable-next-line no-console
console.log('\n\nLaunching with IE\n\n');
}

module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
reporter: 'dot',
launch_in_ci: ['Chrome'],
reporter: customDotReporter,
launch_in_ci: TestIE ? ['IE'] : ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 120,
browser_args: {
Expand Down
15 changes: 13 additions & 2 deletions packages/unpublished-model-encapsulation-test-app/testem.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
// eslint-disable-next-line node/no-unpublished-require
const customDotReporter = require('@ember-data/unpublished-test-infra/src/testem/custom-dot-reporter');

const TestIE = process.env.TEST_IE11;

if (TestIE) {
// eslint-disable-next-line no-console
console.log('\n\nLaunching with IE\n\n');
}

module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
reporter: 'dot',
launch_in_ci: ['Chrome'],
reporter: customDotReporter,
launch_in_ci: TestIE ? ['IE'] : ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 120,
browser_args: {
Chrome: {
ci: [
Expand Down
15 changes: 13 additions & 2 deletions packages/unpublished-record-data-encapsulation-test-app/testem.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
// eslint-disable-next-line node/no-unpublished-require
const customDotReporter = require('@ember-data/unpublished-test-infra/src/testem/custom-dot-reporter');

const TestIE = process.env.TEST_IE11;

if (TestIE) {
// eslint-disable-next-line no-console
console.log('\n\nLaunching with IE\n\n');
}

module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
reporter: 'dot',
launch_in_ci: ['Chrome'],
reporter: customDotReporter,
launch_in_ci: TestIE ? ['IE'] : ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 120,
browser_args: {
Chrome: {
ci: [
Expand Down
19 changes: 15 additions & 4 deletions packages/unpublished-relationship-performance-test-app/testem.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
// eslint-disable-next-line node/no-unpublished-require
const customDotReporter = require('@ember-data/unpublished-test-infra/src/testem/custom-dot-reporter');

const TestIE = process.env.TEST_IE11;

if (TestIE) {
// eslint-disable-next-line no-console
console.log('\n\nLaunching with IE\n\n');
}

module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
launch_in_ci: ['Chrome'],
reporter: customDotReporter,
launch_in_ci: TestIE ? ['IE'] : ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 120,
browser_args: {
Chrome: {
ci: [
// --no-sandbox is needed when running Chrome inside a container
process.env.CI ? '--no-sandbox' : null,
'--headless',
'--disable-dev-shm-usage',
'--disable-software-rasterizer',
'--mute-audio',
'--remote-debugging-port=0',
'--window-size=1440,900',
].filter(Boolean),
'--no-sandbox',
],
},
},
};
15 changes: 13 additions & 2 deletions packages/unpublished-serializer-encapsulation-test-app/testem.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,20 @@
// eslint-disable-next-line node/no-unpublished-require
const customDotReporter = require('@ember-data/unpublished-test-infra/src/testem/custom-dot-reporter');

const TestIE = process.env.TEST_IE11;

if (TestIE) {
// eslint-disable-next-line no-console
console.log('\n\nLaunching with IE\n\n');
}

module.exports = {
test_page: 'tests/index.html?hidepassed',
disable_watching: true,
reporter: 'dot',
launch_in_ci: ['Chrome'],
reporter: customDotReporter,
launch_in_ci: TestIE ? ['IE'] : ['Chrome'],
launch_in_dev: ['Chrome'],
browser_start_timeout: 120,
browser_args: {
Chrome: {
ci: [
Expand Down

0 comments on commit 0fa5e3d

Please sign in to comment.