Skip to content

Commit de50fa1

Browse files
committed
migrate to addon v2
1 parent 406b09a commit de50fa1

File tree

119 files changed

+3520
-2226
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

119 files changed

+3520
-2226
lines changed

.github/workflows/ci.yml

+12-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ concurrency:
1313

1414
jobs:
1515
test:
16-
name: "Tests"
16+
name: 'Tests'
1717
runs-on: ubuntu-latest
1818
timeout-minutes: 10
1919

@@ -28,11 +28,15 @@ jobs:
2828
run: npm ci
2929
- name: Lint
3030
run: npm run lint
31+
working-directory: ember-infinity
32+
- name: Lint Test App
33+
run: npm run lint
34+
working-directory: test-app
3135
- name: Run Tests
32-
run: npm run test:ember
36+
run: npm run test:test-app
3337

3438
floating:
35-
name: "Floating Dependencies"
39+
name: 'Floating Dependencies'
3640
runs-on: ubuntu-latest
3741
timeout-minutes: 10
3842

@@ -45,12 +49,12 @@ jobs:
4549
- name: Install Dependencies
4650
run: npm install --no-shrinkwrap
4751
- name: Run Tests
48-
run: npm run test:ember
52+
run: npm run test:test-app
4953

5054
try-scenarios:
5155
name: ${{ matrix.try-scenario }}
5256
runs-on: ubuntu-latest
53-
needs: "test"
57+
needs: 'test'
5458

5559
strategy:
5660
fail-fast: false
@@ -76,4 +80,6 @@ jobs:
7680
- name: Install Dependencies
7781
run: npm ci
7882
- name: Run Tests
79-
run: ./node_modules/.bin/ember try:one ${{ matrix.try-scenario }}
83+
env:
84+
EMBER_TRY_SCENARIO: ${{ matrix.try-scenario }}
85+
run: npm run test:test-app:ember-try $EMBER_TRY_SCENARIO

.gitignore

+2-30
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,2 @@
1-
# See https://help.github.com/ignore-files/ for more about ignoring files.
2-
3-
# compiled output
4-
/dist/
5-
/tmp/
6-
7-
# dependencies
8-
/bower_components/
9-
/node_modules/
10-
11-
# misc
12-
/.env*
13-
/.pnp*
14-
/.sass-cache
15-
/.eslintcache
16-
/connect.lock
17-
/coverage/
18-
/libpeerconnection.log
19-
/npm-debug.log*
20-
/testem.log
21-
22-
# ember-try
23-
/.node_modules.ember-try/
24-
/bower.json.ember-try
25-
/npm-shrinkwrap.json.ember-try
26-
/package.json.ember-try
27-
/package-lock.json.ember-try
28-
29-
# broccoli-debug
30-
/DEBUG/
1+
node_modules
2+
.DS_Store

.npmignore

-34
This file was deleted.

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
- `ember test --server` – Runs the test suite in "watch mode"
1919
- `ember try:each` – Runs the test suite against multiple Ember versions
2020

21-
## Running the dummy application
21+
## Running the test-app application
2222

2323
- `ember serve`
24-
- Visit the dummy application at [http://localhost:4200](http://localhost:4200).
24+
- Visit the test-app application at [http://localhost:4200](http://localhost:4200).
2525

2626
For more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).

0 commit comments

Comments
 (0)