Skip to content

Commit 7ae751c

Browse files
damien2012engdesilinguist
authored andcommitted
Add rsmexplain tests to ci plans
1 parent 8339293 commit 7ae751c

File tree

1 file changed

+9
-7
lines changed

1 file changed

+9
-7
lines changed

DistributeTests.ps1

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
<#
2-
.SYNOPSIS
3-
Distribute the tests in VSTS pipeline across multiple agents
4-
.DESCRIPTION
1+
<#
2+
.SYNOPSIS
3+
Distribute the tests in VSTS pipeline across multiple agents
4+
.DESCRIPTION
55
This script divides test files across multiple agents for running on Azure DevOps.
6-
It is adapted from the script in this repository:
6+
It is adapted from the script in this repository:
77
https://github.com/PBoraMSFT/ParallelTestingSample-Python/blob/master/DistributeTests.ps1
88
99
The distribution is basically identical to the way we do it in .travis.yaml
@@ -63,10 +63,12 @@ elseif ($agentNumber -eq 5) {
6363
}
6464
elseif ($agentNumber -eq 6) {
6565
$testsToRun = $testsToRun + "tests/test_experiment_rsmxval.py"
66+
$testsToRun = $testsToRun + "tests/test_experiment_rsmexplain.py"
67+
$testsToRun = $testsToRun + "tests/test_explanation_utils.py"
6668
}
6769

6870
# join all test files seperated by space. pytest runs multiple test files in following format pytest test1.py test2.py test3.py
6971
$testFiles = $testsToRun -Join " "
7072
Write-Host "Test files $testFiles"
71-
# write these files into variable so that we can run them using pytest in subsequent task.
72-
Write-Host "##vso[task.setvariable variable=pytestfiles;]$testFiles"
73+
# write these files into variable so that we can run them using pytest in subsequent task.
74+
Write-Host "##vso[task.setvariable variable=pytestfiles;]$testFiles"

0 commit comments

Comments
 (0)