We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 66b000e commit 44dbed2Copy full SHA for 44dbed2
TestAll.m
@@ -20,5 +20,4 @@
20
results = runner.run(suite);
21
assert(~isempty(results), "no tests found")
22
23
-nfailed = nnz([results.Failed]);
24
-assert(nfailed == 0, '%d test(s) failed.', nfailed)
+assertSuccess(results)
azure-pipelines.yml
@@ -1,13 +1,15 @@
1
+variables:
2
+ CI: true
3
+
4
pool:
5
vmImage: ubuntu-latest
6
steps:
7
- task: InstallMATLAB@0
8
inputs:
9
release: R2020a
- - task: RunMATLABTests@0
10
+ - task: RunMATLABCommand@0
11
- testResultsJUnit: test-results/results.xml
- codeCoverageCobertura: code-coverage/coverage.xml
12
+ command: TestAll
13
- task: PublishTestResults@2
14
condition: succeededOrFailed()
15
0 commit comments