Skip to content

Commit 14186e8

Browse files
committed
ci: tell ext lang versions
1 parent b7f9ac4 commit 14186e8

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,17 @@ jobs:
7474
- name: Matlab tell Java Version
7575
uses: matlab-actions/run-command@v2
7676
with:
77-
command: "disp(stdlib.java_vendor()); disp(stdlib.java_version())"
77+
command: "disp(stdlib.java_vendor()), disp(stdlib.java_version())"
78+
79+
- name: Matlab tell .NET version
80+
uses: matlab-actions/run-command@v2
81+
with:
82+
command: "disp(stdlib.dotnet_version())"
83+
84+
- name: Matlab tell Python version
85+
uses: matlab-actions/run-command@v2
86+
with:
87+
command: "disp(stdlib.python_version())"
7888

7989
- name: Non-MEX tests
8090
uses: ./.github/workflows/composite-nomex

.github/workflows/composite-nomex/action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ runs:
3838
tasks: test_java
3939

4040

41-
# note: "source-folder" is necessary, but watch out as it adds all subfolders to path too
41+
# note: "source-folder" adds all subfolders to Matlab path
4242
# https://github.com/matlab-actions/run-tests?tab=readme-ov-file#run-matlab-tests
4343
- name: Non-mex tests (< R2023b)
4444
if: ${{ matrix.release < 'R2023b' }}
4545
uses: matlab-actions/run-command@v2
4646
with:
47-
command: addpath("${{ github.workspace }}"), test_nomex
47+
command: addpath("${{ github.workspace }}"), assertSuccess(runtests('test_nomex'))
4848
startup-options: -sd ./test -logfile ${{ matrix.release }}-${{ runner.os }}-test.log
4949

5050

0 commit comments

Comments
 (0)