Skip to content

Commit

Permalink
Debug CI
Browse files Browse the repository at this point in the history
  • Loading branch information
刘宝 committed Apr 22, 2022
1 parent d986d6e commit b7f2c27
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/core-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ jobs:
run: |
source ./ci/reload-env.sh
source ./.github/workflows/run-tests.sh
echo "done"
coverage xml
- name: Report coverage data
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/platform-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ jobs:
coverage report
fi
if [ -n "$RUN_DASK" ]; then
pytest $PYTEST_CONFIG mars/contrib/dask/tests/test_dask.py
pytest $PYTEST_CONFIG -s -v --log-cli-level=debug mars/contrib/dask/tests/test_dask.py
echo "done"
coverage report
fi
coverage xml
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if [ -z "$NO_COMMON_TESTS" ]; then
pytest $PYTEST_CONFIG mars/remote mars/storage mars/lib mars/metrics
mv .coverage build/.coverage.tileable.file

pytest $PYTEST_CONFIG --forked --ignore mars/tensor --ignore mars/dataframe \
pytest $PYTEST_CONFIG -s -v --log-cli-level=debug --forked --ignore mars/tensor --ignore mars/dataframe \
--ignore mars/learn --ignore mars/remote mars
mv .coverage build/.coverage.main.file
coverage combine build/ && coverage report
Expand Down

0 comments on commit b7f2c27

Please sign in to comment.