Skip to content

Commit e2838e4

Browse files
committed
Run bootstrapped tests on Java 8
We want to make sure that everything works on Java 8, so we should be running the full set of bootstrapped tests.
1 parent a32c1d8 commit e2838e4

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/ci.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ jobs:
193193
- name: Test
194194
run: ./project/scripts/sbt sbt-dotty/scripted
195195

196-
test_java8:
196+
test_bootstrapped_java8:
197197
runs-on: [self-hosted, Linux]
198198
container:
199199
image: lampepfl/dotty:2020-11-19
@@ -226,7 +226,9 @@ jobs:
226226
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
227227

228228
- name: Test
229-
run: ./project/scripts/sbt ";compile ;test"
229+
run: |
230+
./project/scripts/sbt ";scala3-bootstrapped/compile ;scala3-bootstrapped/test;sjsSandbox/run;sjsSandbox/test;sjsJUnitTests/test;sjsCompilerTests/test ;sbt-dotty/scripted scala2-compat/* ;configureIDE ;stdlib-bootstrapped/test:run ;stdlib-bootstrapped-tasty-tests/test"
231+
./project/scripts/bootstrapCmdTests
230232
231233
publish_nightly:
232234
runs-on: [self-hosted, Linux]
@@ -236,7 +238,7 @@ jobs:
236238
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
237239
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
238240
- ${{ github.workspace }}/../../cache/general:/root/.cache
239-
needs: [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_java8]
241+
needs: [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_bootstrapped_java8]
240242
if: github.event_name == 'schedule'
241243
env:
242244
NIGHTLYBUILD: yes
@@ -311,7 +313,7 @@ jobs:
311313
- ${{ github.workspace }}/../../cache/sbt:/root/.sbt
312314
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
313315
- ${{ github.workspace }}/../../cache/general:/root/.cache
314-
needs: [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_java8]
316+
needs: [test, test_bootstrapped, community_build_a, community_build_b, test_sbt, test_bootstrapped_java8]
315317
if: github.event_name == 'push' &&
316318
startsWith(github.event.ref, 'refs/tags/') &&
317319
!startsWith(github.event.ref, 'refs/tags/sbt-dotty-')

0 commit comments

Comments
 (0)