Skip to content

Commit f6aa10f

Browse files
Merge pull request #392 from NullVoxPopuli/test-against-ember-resourcesc-7
Test against ember-resources@v7
2 parents 1315046 + 0cac368 commit f6aa10f

26 files changed

Lines changed: 46687 additions & 17053 deletions

File tree

.github/workflows/ci.yml

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
- uses: wyvox/action@v1
9090
with:
9191
repo-token: ${{ secrets.GITHUB_TOKEN }}
92-
- run: pnpm turbo test --filter test-app
92+
- run: pnpm turbo test:ember --filter test-app
9393

9494
floating:
9595
name: "Floating Dependencies"
@@ -101,7 +101,7 @@ jobs:
101101
with:
102102
repo-token: ${{ secrets.GITHUB_TOKEN }}
103103
pnpm-args: --no-lockfile
104-
- run: pnpm turbo test --filter test-app
104+
- run: pnpm turbo test:ember --filter test-app
105105

106106
try-scenarios:
107107
name: "${{ matrix.try-scenario }} ${{ matrix.test-app == 'test-app' && '(Classic)' || '(Embroider)' }}"
@@ -114,41 +114,30 @@ jobs:
114114
allow-failure: [false]
115115
try-scenario:
116116
- ember-resources-5.3
117+
- ember-resources-7
117118
- ember-lts-3.28
118119
- ember-lts-4.4
119120
# - ember-lts-4.8
121+
# - ember-data @ 4.8 has incorrect peers, so we can't test it
120122
- ember-lts-4.12
121123
- ember-5.0
124+
- ember-lts-5.4
122125

123126
- ember-release
124127
- ember-beta
125128
- ember-canary
126129
test-app:
127130
- test-app
128131
- test-embroider-app
129-
include:
130-
- try-scenario: ember-lts-4.8
131-
test-app: test-embroider-app
132-
allow-failure: true
133-
- try-scenario: ember-lts-4.8
134-
test-app: test-app
135-
allow-failure: false
136132

137133
steps:
138134
- uses: wyvox/action@v1
139135
with:
140136
repo-token: ${{ secrets.GITHUB_TOKEN }}
141137
- name: Run Tests
142-
id: tests
143-
continue-on-error: ${{matrix.allow-failure}}
144138
run: pnpm turbo test:scenario --filter ${{ matrix.test-app }} --log-prefix none -- --skip-cleanup
145139
env:
146140
SCENARIO: ${{ matrix.try-scenario }}
147-
- uses: mainmatter/continue-on-error-comment@v1
148-
with:
149-
repo-token: ${{ secrets.GITHUB_TOKEN }}
150-
outcome: ${{ steps.tests.outcome }}
151-
test-id: "${{ matrix.test-app }} :: ${{ matrix.try-scenario }}"
152141

153142
typecheck_v4:
154143
name: '4.* ${{ matrix.typescript-scenario }}'

.npmrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ ignore-scripts=true
66
auto-install-peers=false
77
resolve-peers-from-workspace-root=false
88

9-
9+
# default is true, we do this to try to have more isolation
10+
# since we test with incompatible sets of TS types.
11+
shared-workspace-lockfile=false

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# ember-data-resources
22

3-
Resources for reactive data fetching with ember-data
3+
Resources for reactive data fetching with ember-data's `store` service.
44

55

66
## Compatibility
77

88
* ember-source v3.28 or above
99
* ember-data v3.28 or above
1010
* ember-auto-import v2 or above
11+
* ember-resources v5.3 or above
1112
* typescript v4.8 or above
1213

1314

dev/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"@babel/core": "^7.23.7",
2626
"@babel/eslint-parser": "^7.23.3",
2727
"@nullvoxpopuli/eslint-configs": "^3.1.3",
28-
"@typescript-eslint/eslint-plugin": "^5.60.0",
29-
"@typescript-eslint/parser": "^5.60.0",
28+
"@typescript-eslint/eslint-plugin": "^6.19.0",
29+
"@typescript-eslint/parser": "^6.19.0",
3030
"eslint": "^8.41.0",
3131
"prettier": "^3.2.4",
3232
"typescript": "^5.1.3"

0 commit comments

Comments
 (0)