forked from ember-m3/ember-m3
-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (54 loc) · 1.72 KB
/
nightly.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
# https://help.github.com/en/actions/reference/workflow-syntax-for-github-actions
name: Nightly
on:
schedule:
# minute hour day-of-month month day-of-week
- cron: '0 14 * * *' # 1400 UTC / 0600 PT
workflow_dispatch:
jobs:
test-floating-deps:
name: 'test (floating dependencies)'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x' # min node version
- name: yarn install
run: yarn install --no-lockfile
- name: test
run: yarn test
test-canaries:
name: "t:${{matrix.try-scenario}}"
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
try-scenario: [ember-beta, ember-alpha, ember-data-beta, ember-data-canary]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x'
- name: yarn install
run: yarn --frozen-lockfile --install
- name: try ${{matrix.try-scenario}}
run: yarn run ember try:one ${{matrix.try-scenario}}
- name: create issue
if: failure()
run: "yarn nyx report-failure --owner hjdivad --repo ember-m3 --run-id ${{github.run_id}}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
test-feature-flags:
name: feature flags
needs: [lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '14.x' # min node version
- name: yarn install
run: yarn --frozen-lockfile --install
- name: test:feature-flags
run: yarn run ember try:one ember-data-canary --- ember test --query enableoptionalfeatures