File tree Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Expand file tree Collapse file tree 2 files changed +39
-2
lines changed Original file line number Diff line number Diff line change @@ -1011,5 +1011,8 @@ jobs:
10111011
10121012 build-msi-package :
10131013 uses : ./.github/workflows/build-msi.yml
1014- if : github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_msi]')
1015- # TODO: ADD A JOB THAT DEPENDS ON THIS TO TEST THE MSI
1014+
1015+ test-msi-package :
1016+ uses : ./.github/workflows/test-msi.yml
1017+ if : github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_msi]')
1018+ needs : build-msi-package
Original file line number Diff line number Diff line change 1+ # ##################################################################################################
2+ # ## THIS IS A REUSABLE WORKFLOW TO TEST SCALA MSI ###
3+ # ## HOW TO USE: ###
4+ # ## ###
5+ # ## NOTE: ###
6+ # ## ###
7+ # ##################################################################################################
8+
9+ name : Test the MSI package
10+
11+ on :
12+ workflow_call :
13+
14+ jobs :
15+ test :
16+ runs-on : windows-latest
17+ steps :
18+ - name : Fetch the MSI package from GitHub Artifacts
19+ uses : actions/download-artifact@v4
20+ with :
21+ name : scala.msi
22+ - name : Install Scala from the MSI Package
23+ run : |
24+ Start-Process msiexec -ArgumentList "/i scala.msi /qn /passive /quiet" -NoNewWindow -Wait
25+ shell : pwsh
26+ - name : Check that the `scala` command is available
27+ run : scala --version
28+ shell : cmd
29+ - name : Check that the `scalac` command is available
30+ run : scalac --version
31+ shell : cmd
32+ - name : Check that the `scaladoc` command is available
33+ run : scaladoc --version
34+ shell : cmd
You can’t perform that action at this time.
0 commit comments