Skip to content

Commit a66a5ac

Browse files
committed
Re-enable embroider-optimized
1 parent 1885813 commit a66a5ac

3 files changed

Lines changed: 5 additions & 16 deletions

File tree

.github/workflows/ci-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ jobs:
105105
- ember-canary
106106
- ember-default
107107
- embroider-safe
108-
# - embroider-optimized # see comments in ember-try.js
108+
- embroider-optimized
109109

110110
steps:
111111
- uses: actions/checkout@v4

test-app/config/ember-try.js

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const getChannelURL = require('ember-source-channel-url');
4-
const { embroiderSafe } = require('@embroider/test-setup');
4+
const { embroiderSafe, embroiderOptimized } = require('@embroider/test-setup');
55
const latestVersion = require('latest-version');
66

77
module.exports = async function () {
@@ -122,19 +122,7 @@ module.exports = async function () {
122122
},
123123
},
124124
embroiderSafe(),
125-
// disable embroider optimized test scenarios, as the dynamism these
126-
// tests use is not compatible with embroider we are still exploring
127-
// appropriate paths forward.
128-
//
129-
// Steps to re-enable:
130-
//
131-
// 1. have a strategy to make this work, import from '@embroider/test-setup'
132-
// 2. uncomment the next line
133-
// embroiderOptimized();
134-
//
135-
// 3. add "embroider-optimized" to .github/workflows/ci-build.yml's
136-
// ember-try-scenario list.
137-
//
125+
embroiderOptimized(),
138126
],
139127
};
140128
};

test-app/ember-cli-build.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,6 @@ module.exports = function (defaults) {
77
// Add options here
88
});
99

10-
return app.toTree();
10+
const { maybeEmbroider } = require('@embroider/test-setup');
11+
return maybeEmbroider(app);
1112
};

0 commit comments

Comments
 (0)