diff --git a/.github/workflows/run_tests_notebooks.yml b/.github/workflows/run_tests_notebooks.yml index ecc020a57..964209b30 100644 --- a/.github/workflows/run_tests_notebooks.yml +++ b/.github/workflows/run_tests_notebooks.yml @@ -49,7 +49,7 @@ jobs: run: cp -rv lib/MACS spm12/toolbox/MACS - name: Test notebooks - uses: matlab-actions/run-command@v1.2.3 + uses: matlab-actions/run-command@v2.0.0 with: command: | root_dir = getenv('GITHUB_WORKSPACE'); diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7b39f2522..69909a14a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -137,13 +137,13 @@ jobs: - name: Run fast unit tests MATLAB if: matrix.test_type == 'unit' && matrix.mode == 'fast' - uses: matlab-actions/run-command@v1.2.3 + uses: matlab-actions/run-command@v2.0.0 with: command: cd(fullfile(getenv('GITHUB_WORKSPACE'), '.github', 'workflows')); run tests_matlab; - name: Run slow unit tests MATLAB if: matrix.test_type == 'unit' && matrix.mode == 'slow' - uses: matlab-actions/run-command@v1.2.3 + uses: matlab-actions/run-command@v2.0.0 with: command: cd(fullfile(getenv('GITHUB_WORKSPACE'), '.github', 'workflows')); global SLOW; SLOW=true; run tests_matlab; @@ -159,6 +159,6 @@ jobs: - name: Run system tests MATLAB ${{ matrix.script }} if: matrix.test_type == 'system' - uses: matlab-actions/run-command@v1.2.3 + uses: matlab-actions/run-command@v2.0.0 with: command: cd(fullfile(getenv('GITHUB_WORKSPACE'), '.github', 'workflows')); run system_tests_${{ matrix.script }}; diff --git a/.github/workflows/tests_windows.yml b/.github/workflows/tests_windows.yml index 93459f616..349d347ed 100644 --- a/.github/workflows/tests_windows.yml +++ b/.github/workflows/tests_windows.yml @@ -116,13 +116,13 @@ jobs: - name: Run fast unit tests MATLAB if: matrix.test_type == 'unit' && matrix.mode == 'fast' - uses: matlab-actions/run-command@v1.2.3 + uses: matlab-actions/run-command@v2.0.0 with: command: cd(fullfile(getenv('GITHUB_WORKSPACE'), '.github', 'workflows')); run tests_matlab; - name: Run slow unit tests MATLAB if: matrix.test_type == 'unit' && matrix.mode == 'slow' - uses: matlab-actions/run-command@v1.2.3 + uses: matlab-actions/run-command@v2.0.0 with: command: cd(fullfile(getenv('GITHUB_WORKSPACE'), '.github', 'workflows')); global SLOW; SLOW=true; run tests_matlab; @@ -138,6 +138,6 @@ jobs: - name: Run system tests MATLAB ${{ matrix.script }} if: matrix.test_type == 'system' - uses: matlab-actions/run-command@v1.2.3 + uses: matlab-actions/run-command@v2.0.0 with: command: cd(fullfile(getenv('GITHUB_WORKSPACE'), '.github', 'workflows')); run system_tests_${{ matrix.script }};