Skip to content

Commit b107eb4

Browse files
committed
Restore the legacy tests that were removed
The tests were removed in this PR #805
1 parent 0d11ef2 commit b107eb4

File tree

1 file changed

+33
-1
lines changed

1 file changed

+33
-1
lines changed

.github/workflows/ci.yml

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- name: Yarn Install
6767
run: yarn install --ignore-engines --frozen-lockfile
6868
- name: Integration Tests
69-
run: yarn workspace integration-tests test
69+
run: yarn workspace integration-tests test
7070

7171
test-packages:
7272
name: Test Packages
@@ -90,3 +90,35 @@ jobs:
9090
run: yarn workspace basic-app test:mocha
9191
- name: Custom App
9292
run: yarn workspace custom-fastboot-app test:mocha
93+
94+
test-legacy-mocha:
95+
name: Legacy Mocha Tests - ${{ matrix.node-version }}
96+
runs-on: ubuntu-latest
97+
98+
strategy:
99+
fail-fast: false
100+
matrix:
101+
node-version: ['14', '12', '10']
102+
103+
steps:
104+
- name: Checkout Code
105+
uses: actions/checkout@v2
106+
- name: Use Node.js ${{ matrix.node-version }}
107+
uses: volta-cli/action@v1
108+
with:
109+
node-version: ${{ matrix.node-version }}
110+
111+
# Remove test-packages folder so that we don't leak node_modules between apps
112+
- name: Remove test-packages
113+
run: |
114+
rm -rf test-packages
115+
- name: Yarn Install
116+
working-directory: ./packages/ember-cli-fastboot
117+
run: |
118+
yarn install --ignore-engines --frozen-lockfile
119+
- name: Run Mocha Tests
120+
working-directory: ./packages/ember-cli-fastboot
121+
run: |
122+
volta install npm@4
123+
npm --version
124+
yarn test:mocha

0 commit comments

Comments
 (0)