File tree 6 files changed +15
-15
lines changed
6 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 37
37
displayName: 'Build'
38
38
- script : |
39
39
call activate %CONDA_ENV%
40
- pytest --junitxml=test-data.xml --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
40
+ pytest --junitxml=test-data.xml --skip-slow --skip-network pandas -n 2 -r sxX --strict --durations=10 %*
41
41
displayName: 'Test'
42
42
- task : PublishTestResults@2
43
43
inputs :
Original file line number Diff line number Diff line change 28
28
displayName: 'Build'
29
29
- script : |
30
30
call activate %CONDA_ENV%
31
- pytest --junitxml=test-data.xml --skip-slow --skip-network pandas -n 2 -r sxX --strict %*
31
+ pytest --junitxml=test-data.xml --skip-slow --skip-network pandas -n 2 -r sxX --strict --durations=10 %*
32
32
displayName: 'Test'
33
33
- task : PublishTestResults@2
34
34
inputs :
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ export PATH="$MINICONDA_DIR/bin:$PATH"
5
5
6
6
source activate pandas
7
7
8
- echo " pytest --strict --junitxml=$CIRCLE_TEST_REPORTS /reports/junit.xml $@ pandas"
9
- pytest --strict --color=no --junitxml=$CIRCLE_TEST_REPORTS /reports/junit.xml $@ pandas
8
+ echo " pytest --strict --durations=10 --color=no -- junitxml=$CIRCLE_TEST_REPORTS /reports/junit.xml $@ pandas"
9
+ pytest --strict --durations=10 --color=no --junitxml=$CIRCLE_TEST_REPORTS /reports/junit.xml $@ pandas
Original file line number Diff line number Diff line change @@ -27,17 +27,17 @@ if [ "$DOC" ]; then
27
27
echo " We are not running pytest as this is a doc-build"
28
28
29
29
elif [ " $COVERAGE " ]; then
30
- echo pytest -s -n 2 -m " not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
31
- pytest -s -n 2 -m " not single" --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
30
+ echo pytest -s -n 2 -m " not single" --durations=10 -- cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
31
+ pytest -s -n 2 -m " not single" --durations=10 --cov=pandas --cov-report xml:/tmp/cov-multiple.xml --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
32
32
33
33
elif [ " $SLOW " ]; then
34
34
TEST_ARGS=" --only-slow --skip-network"
35
- echo pytest -m " not single and slow" -v --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
36
- pytest -m " not single and slow" -v --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
35
+ echo pytest -m " not single and slow" -v --durations=10 -- junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
36
+ pytest -m " not single and slow" -v --durations=10 -- junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
37
37
38
38
else
39
- echo pytest -n 2 -m " not single" --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
40
- pytest -n 2 -m " not single" --junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas # TODO: doctest
39
+ echo pytest -n 2 -m " not single" --durations=10 -- junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas
40
+ pytest -n 2 -m " not single" --durations=10 -- junitxml=test-data-multiple.xml --strict $TEST_ARGS pandas # TODO: doctest
41
41
42
42
fi
43
43
Original file line number Diff line number Diff line change @@ -26,13 +26,13 @@ if [ "$DOC" ]; then
26
26
echo " We are not running pytest as this is a doc-build"
27
27
28
28
elif [ " $COVERAGE " ]; then
29
- echo pytest -s -m " single" --strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=test-data-single.xml $TEST_ARGS pandas
30
- pytest -s -m " single" --strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=test-data-single.xml $TEST_ARGS pandas
29
+ echo pytest -s -m " single" --durations=10 -- strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=test-data-single.xml $TEST_ARGS pandas
30
+ pytest -s -m " single" --durations=10 -- strict --cov=pandas --cov-report xml:/tmp/cov-single.xml --junitxml=test-data-single.xml $TEST_ARGS pandas
31
31
echo pytest -s --strict scripts
32
32
pytest -s --strict scripts
33
33
else
34
- echo pytest -m " single" --junitxml=test-data-single.xml --strict $TEST_ARGS pandas
35
- pytest -m " single" --junitxml=test-data-single.xml --strict $TEST_ARGS pandas
34
+ echo pytest -m " single" --durations=10 -- junitxml=test-data-single.xml --strict $TEST_ARGS pandas
35
+ pytest -m " single" --durations=10 -- junitxml=test-data-single.xml --strict $TEST_ARGS pandas
36
36
37
37
fi
38
38
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ markers =
45
45
high_memory: mark a test as a high-memory only
46
46
clipboard: mark a pd.read_clipboard test
47
47
doctest_optionflags = NORMALIZE_WHITESPACE IGNORE_EXCEPTION_DETAIL
48
- addopts = --strict-data-files -- durations =10
48
+ addopts = --strict-data-files
49
49
50
50
[coverage:run]
51
51
branch = False
You can’t perform that action at this time.
0 commit comments