Open adastar opened 7 months ago
Hi @adastar,
It looks like this issue was created in response to the following pipeline run: https://app.circleci.com/pipelines/github/adastar/ci-sample-repo-bash/6/workflows/a6e09310-fc1e-4db7-8351-44084bde627c/jobs/5
If Parallel_Computing_Toolbox is not installed, the tests will run serially. Here is the relevant warning in the log that mentions this:
Warning: Unable to find a runInParallel method on matlab.unittest.TestRunner. Running tests in serial instead.
It is near the top and might not be easily visible. We will consider ways to make this more apparent.
In addition, a test report was generated. It is on the filesystem of the runner. Here is the relevant output in the log that mentions this:
Generating test report. Please wait. Preparing content for the test report. Adding content to the test report. Writing test report to file. Test report has been saved to: /home/circleci/project/results.html/index.html
If you would like to view test results in the job logs of your browser, you have to save them as job artifact. We will consider ways to document this better in the future.
You can add this to your job list after matlab/run-tests
in order to store test results that are output in a folder results/index.html
- store_test_results:
path: results/test-results.xml
Thanks, David
I have the circle ci yml file:
version: 2.1 orbs: matlab: mathworks/matlab@dev:v1-rc jobs: build:
environment:
The build finished without error. But in the test log, I do not see it starts parallel pool, I also do not see the results.html is generated. There is no log shows the option does not work either.