Skip to content

Commit e892362

Browse files
committed
Run all tests with Scala 2 library TASTy
1 parent 3e69af5 commit e892362

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@ jobs:
145145
- name: Test with Scala 2 library TASTy (fast)
146146
run: ./project/scripts/sbt ";set ThisBuild/Build.useScala2LibraryTasty := true ;scala3-bootstrapped/testCompilation i5" # only test a subset of test to avoid doubling the CI execution time
147147

148+
148149
test_scala2_library_tasty:
149150
runs-on: [self-hosted, Linux]
150151
container:
@@ -155,14 +156,14 @@ jobs:
155156
- ${{ github.workspace }}/../../cache/ivy:/root/.ivy2/cache
156157
- ${{ github.workspace }}/../../cache/general:/root/.cache
157158
if: "github.event_name == 'schedule' && github.repository == 'lampepfl/dotty'
158-
|| (
159-
github.event_name == 'pull_request'
160-
&& contains(github.event.pull_request.body, '[test_scala2_library_tasty]')
161-
)
162-
|| (
163-
github.event_name == 'workflow_dispatch'
164-
&& github.repository == 'lampepfl/dotty'
165-
)"
159+
|| (
160+
github.event_name == 'pull_request'
161+
&& contains(github.event.pull_request.body, '[test_scala2_library_tasty]')
162+
)
163+
|| (
164+
github.event_name == 'workflow_dispatch'
165+
&& github.repository == 'lampepfl/dotty'
166+
)"
166167

167168
steps:
168169
- name: Set JDK 16 as default
@@ -184,8 +185,7 @@ jobs:
184185
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
185186

186187
- name: Test with Scala 2 library TASTy
187-
run: ./project/scripts/sbt ";set ThisBuild/Build.useScala2LibraryTasty := true ;scala3-bootstrapped/testCompilation"
188-
188+
run: ./project/scripts/sbt ";set ThisBuild/Build.useScala2LibraryTasty := true ;scala3-bootstrapped/test"
189189

190190
test_windows_fast:
191191
runs-on: [self-hosted, Windows]

0 commit comments

Comments
 (0)