This repository was archived by the owner on Aug 21, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-14
lines changed Expand file tree Collapse file tree 4 files changed +8
-14
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,6 @@ commands:
5
5
description : " checkout merge branch"
6
6
steps :
7
7
- checkout
8
- # - run:
9
- # name: Checkout merge branch
10
- # command: |
11
- # set -ex
12
- # BRANCH=$(git rev-parse --abbrev-ref HEAD)
13
- # if [[ "$BRANCH" != "master" ]]; then
14
- # git fetch --force origin ${CIRCLE_BRANCH}/merge:merged/${CIRCLE_BRANCH}
15
- # git checkout "merged/$CIRCLE_BRANCH"
16
- # fi
17
8
18
9
binary_common : &binary_common
19
10
parameters :
84
75
name : Post process
85
76
command : .circleci/unittest/linux/scripts/post_process.sh
86
77
- store_test_results :
87
- path : test-results
78
+ path : test-reports
88
79
89
80
unittest_linux_gpu :
90
81
<< : *binary_common
@@ -122,7 +113,7 @@ jobs:
122
113
name : Post process
123
114
command : .circleci/unittest/linux/scripts/post_process.sh
124
115
- store_test_results :
125
- path : test-results
116
+ path : test-reports
126
117
127
118
workflows :
128
119
unittest :
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ dependencies:
8
8
- pip
9
9
- ca-certificates
10
10
- pip :
11
+ - xmlrunner
11
12
- pillow>=4.1.1
12
13
- scipy
13
14
- av
Original file line number Diff line number Diff line change 2
2
3
3
set -e
4
4
5
+ export IN_CI=1
6
+ mkdir test-reports
5
7
eval " $( ./conda/bin/conda shell.bash hook) "
6
8
conda activate ./env
7
9
8
10
python -m torch.utils.collect_env
9
11
10
12
# test_functorch_lagging_op_db.py: Only run this locally because it checks
11
13
# the functorch lagging op db vs PyTorch's op db.
12
- find test \( -name test\* .py ! -name test_functorch_lagging_op_db.py \) | xargs -I {} -n 1 bash -c " python {} -v || exit 255"
14
+ EXIT_STATUS=0
15
+ find test \( -name test\* .py ! -name test_functorch_lagging_op_db.py \) | xargs -I {} -n 1 python {} -v || EXIT_STATUS=$?
16
+ exit $EXIT_STATUS
Original file line number Diff line number Diff line change 7
7
#
8
8
# Do not install PyTorch and functorch here, otherwise they also get cached.
9
9
10
- set -e
11
-
12
10
this_dir=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " > /dev/null 2>&1 && pwd ) "
13
11
root_dir=" $( git rev-parse --show-toplevel) "
14
12
conda_dir=" ${root_dir} /conda"
You can’t perform that action at this time.
0 commit comments