File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 29
29
displayName : ' Workaround for mamba-org/mamba#488'
30
30
31
31
- script : |
32
- set -x
32
+ set -eux
33
33
sccache_version=v0.2.15
34
34
sccache_archive_name=sccache-$sccache_version-x86_64-apple-darwin
35
35
curl -L https://github.com/mozilla/sccache/releases/download/$sccache_version/$sccache_archive_name.tar.gz \
@@ -60,24 +60,26 @@ jobs:
60
60
sed -i 's/^ - pyarrow$/ - pyarrow=6/' ${ENV_FILE}
61
61
fi
62
62
time mamba env update -n pandas-dev --file="${ENV_FILE}"
63
+ set +e
63
64
echo Have qt?
64
65
conda list -f qt --json
65
66
echo Have pandas?
66
67
pip list | grep pandas
68
+ set -e
67
69
echo "Build extensions"
68
- time DISTUTILS_C_COMPILER_LAUNCHER=sccache python setup.py build_ext -q -j3
70
+ time DISTUTILS_C_COMPILER_LAUNCHER=sccache mamba run --no-capture-output -n pandas-dev python setup.py build_ext -q -j3
69
71
echo "Install pandas"
70
- time python -m pip install --no-build-isolation -e .
72
+ time mamba run --no-capture-output -n pandas-dev python -m pip install --no-build-isolation -e .
71
73
sccache -s
72
74
displayName: 'Setup environment and build pandas'
73
75
74
76
- script : |
75
- conda run -n pandas-dev -- no-capture-output ci/run_tests.sh
77
+ mamba run -- no-capture-output -n pandas-dev ci/run_tests.sh
76
78
displayName: 'Test'
77
79
78
80
- script : |
79
81
pushd /tmp
80
- conda run -n pandas-dev python -c "import pandas; pandas.show_versions()"
82
+ mamba run --no-capture-output -n pandas-dev python -c "import pandas; pandas.show_versions()"
81
83
popd
82
84
displayName: 'Build versions'
83
85
You can’t perform that action at this time.
0 commit comments