File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 include :
1919 - cvxpy : conda-1.9.2
2020 scope : alone
21- - cvxpy : conda-1.9.2
22- scope : full
2321 - cvxpy : wheel-1.9.3
2422 scope : full
2523 defaults :
6967
7068 - name : Run pytest (${{ matrix.scope }})
7169 run : |
70+ set +e +o pipefail
7271 # Run from site-packages against the installed tests, like the feedstock does
7372 cd "$(python -c 'import cvxpy, os; print(os.path.dirname(os.path.dirname(cvxpy.__file__)))')"
7473 if [ "${{ matrix.scope }}" = alone ]; then
7978 python -m pytest $args -q -rf -p no:cacheprovider > "$RUNNER_TEMP/out.txt" 2>&1 || true
8079 tail -25 "$RUNNER_TEMP/out.txt"
8180 summary=$(grep -E "(passed|failed).* in [0-9.]+s" "$RUNNER_TEMP/out.txt" | tail -1)
82- pcp=$(grep -q "FAILED .*test_pcp_5" "$RUNNER_TEMP/out.txt" && echo FAILED || (grep -q "test_pcp_5" "$RUNNER_TEMP/out.txt" && echo see-log || echo not-failed))
81+ pcp=$(grep -q "FAILED .*test_pcp_5" "$RUNNER_TEMP/out.txt" && echo FAILED || echo not-failed)
82+ collected=$(grep -E "collected|error" "$RUNNER_TEMP/out.txt" | head -3 | cut -c 1-120 | tr '\n' ';')
8383 failed=$(grep -E "^FAILED " "$RUNNER_TEMP/out.txt" | cut -c 1-90 | tr '\n' ';')
84- echo "::notice title=pytest ${{ matrix.cvxpy }} ${{ matrix.scope }}::test_pcp_5 $pcp | $summary | $failed"
84+ echo "::notice title=pytest ${{ matrix.cvxpy }} ${{ matrix.scope }}::test_pcp_5 $pcp | $summary | $failed | $collected "
You can’t perform that action at this time.
0 commit comments