Skip to content

Commit 350ff36

Browse files
committed
Run the default (Scala 3 Next) suite with the JVM bootstrapped launcher on the CI
1 parent 0762f87 commit 350ff36

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,31 @@ jobs:
7373
run: |
7474
fish -c './mill __.compile'
7575
76+
jvm-bootstrapped-tests:
77+
timeout-minutes: 120
78+
runs-on: ubuntu-24.04
79+
steps:
80+
- uses: actions/checkout@v5
81+
with:
82+
fetch-depth: 0
83+
submodules: true
84+
- uses: VirtusLab/scala-cli-setup@v1
85+
with:
86+
jvm: "temurin:17"
87+
- name: JVM integration tests
88+
run: ./mill -i integration.test.jvmBootstrapped
89+
env:
90+
SCALA_CLI_IT_GROUP: 1
91+
- name: Convert Mill test reports to JUnit XML format
92+
if: success() || failure()
93+
run: .github/scripts/generate-junit-reports.sc jvm-bootstrapped-tests 'Scala CLI JVM Bootstrapped Tests' test-report.xml out/
94+
- name: Upload test report
95+
uses: actions/upload-artifact@v4
96+
if: success() || failure()
97+
with:
98+
name: test-results-jvm-bootstrapped-tests
99+
path: test-report.xml
100+
76101
jvm-tests-1:
77102
timeout-minutes: 120
78103
runs-on: ubuntu-24.04
@@ -1612,6 +1637,7 @@ jobs:
16121637
publish:
16131638
needs:
16141639
- unit-tests
1640+
- jvm-bootstrapped-tests
16151641
- jvm-tests-1
16161642
- jvm-tests-2
16171643
- jvm-tests-3
@@ -1699,6 +1725,7 @@ jobs:
16991725
timeout-minutes: 20
17001726
needs:
17011727
- unit-tests
1728+
- jvm-bootstrapped-tests
17021729
- jvm-tests-1
17031730
- jvm-tests-2
17041731
- jvm-tests-3

0 commit comments

Comments
 (0)