-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (56 loc) · 1.4 KB
/
ci-mock.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
59
60
61
62
name: ci-mock
on:
push:
branches:
- main
paths:
- "packages/mock/**"
# Generic files
- ".github/workflows/ci-mock.yml"
- "yarn.lock"
pull_request:
paths:
- "packages/mock/**"
# Generic files
- ".github/workflows/ci-mock.yml"
- "yarn.lock"
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- uses: mydea/actions-ember-testing@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test:ember
working-directory: packages/mock
- name: Lint
run: yarn lint
working-directory: packages/mock
test-matrix:
runs-on: ubuntu-latest
timeout-minutes: 7
strategy:
matrix:
# Keep this in sync with config/ember-try.js
ember:
[
ember-lts-3.28,
ember-release,
ember-beta,
ember-canary,
embroider-safe,
embroider-optimized,
]
steps:
- uses: actions/checkout@v2
- uses: volta-cli/action@v1
- uses: mydea/actions-ember-testing@v2
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Run tests
run: yarn test:ember-one ${{ matrix.ember }}
working-directory: packages/mock