Skip to content

Commit 428acf5

Browse files
committed
.
1 parent 24633c3 commit 428acf5

File tree

1 file changed

+129
-129
lines changed

1 file changed

+129
-129
lines changed

.github/workflows/run-tests.yml

Lines changed: 129 additions & 129 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,21 @@ jobs:
5959
os: ubuntu-latest
6060
shell: bash
6161

62-
build-windows:
63-
if: (github.event.action == 'ready_for_review') || (github.event.pull_request.draft == false)
64-
uses: ./.github/workflows/pre-build.yml
65-
with:
66-
os: windows-latest
67-
shell: powershell
68-
69-
test-docs:
70-
if: (github.event.action == 'ready_for_review') || (github.event.pull_request.draft == false)
71-
runs-on: ubuntu-latest
72-
steps:
73-
- uses: actions/checkout@v4
74-
with: { fetch-depth: 1 }
75-
76-
- run: ./mill -i docs.fastPages + docs.checkBrokenLinks
62+
# build-windows:
63+
# if: (github.event.action == 'ready_for_review') || (github.event.pull_request.draft == false)
64+
# uses: ./.github/workflows/pre-build.yml
65+
# with:
66+
# os: windows-latest
67+
# shell: powershell
68+
69+
# test-docs:
70+
# if: (github.event.action == 'ready_for_review') || (github.event.pull_request.draft == false)
71+
# runs-on: ubuntu-latest
72+
# steps:
73+
# - uses: actions/checkout@v4
74+
# with: { fetch-depth: 1 }
75+
#
76+
# - run: ./mill -i docs.fastPages + docs.checkBrokenLinks
7777

7878
cross-plat:
7979
if: (github.event.action == 'ready_for_review') || (github.event.pull_request.draft == false)
@@ -122,13 +122,13 @@ jobs:
122122
# on the opposite version on Windows below, so we get decent coverage of
123123
# each test on each Java version and each operating system
124124
# We also try to group tests together to manually balance out the runtimes of each jobs
125-
- java-version: 17
126-
millargs: "'{main,scalalib,testrunner,bsp,testkit}.__.test'"
127-
install-android-sdk: false
128-
129-
- java-version: 11
130-
millargs: "'{scalajslib,scalanativelib,kotlinlib,pythonlib,javascriptlib}.__.test'"
131-
install-android-sdk: false
125+
# - java-version: 17
126+
# millargs: "'{main,scalalib,testrunner,bsp,testkit}.__.test'"
127+
# install-android-sdk: false
128+
#
129+
# - java-version: 11
130+
# millargs: "'{scalajslib,scalanativelib,kotlinlib,pythonlib,javascriptlib}.__.test'"
131+
# install-android-sdk: false
132132

133133
- java-version: 17
134134
millargs: "contrib.__.test"
@@ -138,110 +138,110 @@ jobs:
138138
millargs: "'example.javalib.__.native.server.test'"
139139
install-android-sdk: false
140140

141-
- java-version: 17
142-
millargs: "'example.android.__.local.server.test'"
143-
install-android-sdk: true
144-
145-
- java-version: 17
146-
millargs: "'example.{pythonlib,javascriptlib}.__.local.server.test'"
147-
install-android-sdk: false
148-
149-
- java-version: 11
150-
millargs: "'example.thirdparty[{mockito,acyclic,commons-io}].local.server.test'"
151-
install-android-sdk: false
152-
153-
- java-version: 17
154-
millargs: "'example.thirdparty[{fansi,jimfs,netty,gatling}].local.server.test'"
155-
install-android-sdk: false
156-
157-
- java-version: '17'
158-
millargs: "'example.thirdparty[arrow].local.server.test'"
159-
install-android-sdk: false
160-
161-
- java-version: 11
162-
millargs: "'example.{cli,fundamentals,depth,extending}.__.local.server.test'"
163-
install-android-sdk: false
164-
# Most of these integration tests should not depend on which mode they
165-
# are run in, so just run them in `local`
166-
- java-version: '17'
167-
millargs: "'integration.{failure,feature,ide}.__.packaged.server.test'"
168-
install-android-sdk: false
169-
# These invalidation tests need to be exercised in both execution modes
170-
# to make sure they work with and without -i/--no-server being passed
171-
- java-version: 17
172-
millargs: "'integration.invalidation.__.packaged.fork.test'"
173-
install-android-sdk: false
174-
175-
- java-version: 17
176-
millargs: "'integration.invalidation.__.packaged.server.test'"
177-
install-android-sdk: false
178-
179-
uses: ./.github/workflows/post-build-selective.yml
180-
with:
181-
install-android-sdk: ${{ matrix.install-android-sdk }}
182-
java-version: ${{ matrix.java-version }}
183-
millargs: ${{ matrix.millargs }}
184-
shell: bash
185-
186-
windows:
187-
needs: build-windows
188-
strategy:
189-
fail-fast: false
190-
matrix:
191-
include:
192-
# just run a subset of examples/ on Windows, because for some reason running
193-
# the whole suite can take hours on windows v.s. half an hour on linux
194-
#
195-
# * One job unit tests,
196-
# * One job each for local/packaged/native tests
197-
# * At least one job for each of fork/server tests, and example/integration tests
198-
- java-version: 11
199-
millargs: '"{main,scalalib,bsp}.__.test"'
200-
201-
- java-version: 11
202-
millargs: '"example.scalalib.{basic,publishing}.__.local.fork.test"'
203-
204-
- java-version: 17
205-
millargs: "'integration.{feature,failure}.__.packaged.fork.test'"
206-
207-
- java-version: 11 # Run this with Mill native launcher as a smoketest
208-
millargs: "'integration.invalidation.__.native.server.test'"
209-
210-
uses: ./.github/workflows/post-build-selective.yml
211-
with:
212-
os: windows-latest
213-
java-version: ${{ matrix.java-version }}
214-
millargs: ${{ matrix.millargs }}
215-
# Provide a shorter coursier archive folder to avoid hitting path-length bugs when
216-
# running the graal native image binary on windows
217-
coursierarchive: "C:/coursier-arc"
218-
shell: powershell
219-
220-
itest:
221-
needs: build-linux
222-
strategy:
223-
fail-fast: false
224-
matrix:
225-
include:
226-
# bootstrap tests
227-
- java-version: 11 # Have one job on oldest JVM
228-
buildcmd: ci/test-dist-run.sh && ci/test-install-local.sh && ./mill -i -k __.ivyDepsTree && ./mill -i -k __.ivyDepsTree --withRuntime
229-
- java-version: 17 # Have one job on default JVM
230-
buildcmd: ci/test-mill-bootstrap.sh
231-
232-
uses: ./.github/workflows/post-build-raw.yml
233-
with:
234-
java-version: ${{ matrix.java-version }}
235-
buildcmd: ${{ matrix.buildcmd }}
236-
237-
# Scalafmt, Mima, and Scalafix job runs last because it's the least important:
238-
# usually just an automated or mechanical manual fix to do before merging
239-
lint-autofix:
240-
needs: build-linux
241-
uses: ./.github/workflows/post-build-raw.yml
242-
with:
243-
java-version: '17'
244-
buildcmd: |
245-
set -eux
246-
./mill -i mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll + __.mimaReportBinaryIssues + __.fix --check + mill.javalib.palantirformat.PalantirFormatModule/ --check + mill.kotlinlib.ktlint.KtlintModule/checkFormatAll
247-
./mill -i --meta-level 1 mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll
141+
# - java-version: 17
142+
# millargs: "'example.android.__.local.server.test'"
143+
# install-android-sdk: true
144+
#
145+
# - java-version: 17
146+
# millargs: "'example.{pythonlib,javascriptlib}.__.local.server.test'"
147+
# install-android-sdk: false
148+
#
149+
# - java-version: 11
150+
# millargs: "'example.thirdparty[{mockito,acyclic,commons-io}].local.server.test'"
151+
# install-android-sdk: false
152+
#
153+
# - java-version: 17
154+
# millargs: "'example.thirdparty[{fansi,jimfs,netty,gatling}].local.server.test'"
155+
# install-android-sdk: false
156+
#
157+
# - java-version: '17'
158+
# millargs: "'example.thirdparty[arrow].local.server.test'"
159+
# install-android-sdk: false
160+
#
161+
# - java-version: 11
162+
# millargs: "'example.{cli,fundamentals,depth,extending}.__.local.server.test'"
163+
# install-android-sdk: false
164+
# # Most of these integration tests should not depend on which mode they
165+
# # are run in, so just run them in `local`
166+
# - java-version: '17'
167+
# millargs: "'integration.{failure,feature,ide}.__.packaged.server.test'"
168+
# install-android-sdk: false
169+
# # These invalidation tests need to be exercised in both execution modes
170+
# # to make sure they work with and without -i/--no-server being passed
171+
# - java-version: 17
172+
# millargs: "'integration.invalidation.__.packaged.fork.test'"
173+
# install-android-sdk: false
174+
#
175+
# - java-version: 17
176+
# millargs: "'integration.invalidation.__.packaged.server.test'"
177+
# install-android-sdk: false
178+
#
179+
# uses: ./.github/workflows/post-build-selective.yml
180+
# with:
181+
# install-android-sdk: ${{ matrix.install-android-sdk }}
182+
# java-version: ${{ matrix.java-version }}
183+
# millargs: ${{ matrix.millargs }}
184+
# shell: bash
185+
186+
# windows:
187+
# needs: build-windows
188+
# strategy:
189+
# fail-fast: false
190+
# matrix:
191+
# include:
192+
# # just run a subset of examples/ on Windows, because for some reason running
193+
# # the whole suite can take hours on windows v.s. half an hour on linux
194+
# #
195+
# # * One job unit tests,
196+
# # * One job each for local/packaged/native tests
197+
# # * At least one job for each of fork/server tests, and example/integration tests
198+
# - java-version: 11
199+
# millargs: '"{main,scalalib,bsp}.__.test"'
200+
#
201+
# - java-version: 11
202+
# millargs: '"example.scalalib.{basic,publishing}.__.local.fork.test"'
203+
#
204+
# - java-version: 17
205+
# millargs: "'integration.{feature,failure}.__.packaged.fork.test'"
206+
#
207+
# - java-version: 11 # Run this with Mill native launcher as a smoketest
208+
# millargs: "'integration.invalidation.__.native.server.test'"
209+
#
210+
# uses: ./.github/workflows/post-build-selective.yml
211+
# with:
212+
# os: windows-latest
213+
# java-version: ${{ matrix.java-version }}
214+
# millargs: ${{ matrix.millargs }}
215+
# # Provide a shorter coursier archive folder to avoid hitting path-length bugs when
216+
# # running the graal native image binary on windows
217+
# coursierarchive: "C:/coursier-arc"
218+
# shell: powershell
219+
#
220+
# itest:
221+
# needs: build-linux
222+
# strategy:
223+
# fail-fast: false
224+
# matrix:
225+
# include:
226+
# # bootstrap tests
227+
# - java-version: 11 # Have one job on oldest JVM
228+
# buildcmd: ci/test-dist-run.sh && ci/test-install-local.sh && ./mill -i -k __.ivyDepsTree && ./mill -i -k __.ivyDepsTree --withRuntime
229+
# - java-version: 17 # Have one job on default JVM
230+
# buildcmd: ci/test-mill-bootstrap.sh
231+
#
232+
# uses: ./.github/workflows/post-build-raw.yml
233+
# with:
234+
# java-version: ${{ matrix.java-version }}
235+
# buildcmd: ${{ matrix.buildcmd }}
236+
#
237+
# # Scalafmt, Mima, and Scalafix job runs last because it's the least important:
238+
# # usually just an automated or mechanical manual fix to do before merging
239+
# lint-autofix:
240+
# needs: build-linux
241+
# uses: ./.github/workflows/post-build-raw.yml
242+
# with:
243+
# java-version: '17'
244+
# buildcmd: |
245+
# set -eux
246+
# ./mill -i mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll + __.mimaReportBinaryIssues + __.fix --check + mill.javalib.palantirformat.PalantirFormatModule/ --check + mill.kotlinlib.ktlint.KtlintModule/checkFormatAll
247+
# ./mill -i --meta-level 1 mill.scalalib.scalafmt.ScalafmtModule/checkFormatAll

0 commit comments

Comments
 (0)