File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ phases:
11
11
12
12
# local mode tests
13
13
- start_time=`date +%s`
14
+ - HAS_MATCHING_CHANGES_OUTPUT=$(has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml")
14
15
- |
15
- if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml" ; then
16
+ if [ "$HAS_MATCHING_CHANGES" = "Changes Found" ] ; then
16
17
tox -e py36 -- tests/integ -m local_mode --durations 50
17
18
fi
18
19
- ./ci-scripts/displaytime.sh 'py36 local mode' $start_time
19
20
20
21
- start_time=`date +%s`
21
22
- |
22
- if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml" ; then
23
+ if [ "$HAS_MATCHING_CHANGES" = "Changes Found" ] ; then
23
24
tox -e py27 -- tests/integ -m local_mode --durations 50
24
25
fi
25
26
- ./ci-scripts/displaytime.sh 'py27 local mode' $start_time
Original file line number Diff line number Diff line change 6
6
# run notebook test
7
7
- echo "running notebook test"
8
8
- start_time=`date +%s`
9
+ - HAS_MATCHING_CHANGES_OUTPUT=$(has-matching-changes "src/*.py" "setup.py" "setup.cfg" "tests/scripts/run-notebook-test.sh")
9
10
- |
10
- if has-matching-changes "src/*.py" "setup.py" "setup.cfg" "tests/scripts/run-notebook-test.sh" ; then
11
+ if [ "$HAS_MATCHING_CHANGES" = "Changes Found" ] ; then
11
12
./tests/scripts/run-notebook-test.sh
12
13
fi
13
14
- ./ci-scripts/displaytime.sh 'notebook test' $start_time
Original file line number Diff line number Diff line change @@ -11,15 +11,16 @@ phases:
11
11
12
12
# run integration tests
13
13
- start_time=`date +%s`
14
+ - HAS_MATCHING_CHANGES_OUTPUT=$(has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml")
14
15
- |
15
- if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml" ; then
16
+ if [ "$HAS_MATCHING_CHANGES" = "Changes Found" ] ; then
16
17
python3 -u ci-scripts/queue_build.py
17
18
fi
18
19
- ./ci-scripts/displaytime.sh 'build queue' $start_time
19
20
20
21
- start_time=`date +%s`
21
22
- |
22
- if has-matching-changes "tests/" "src/*.py" "setup.py" "setup.cfg" "buildspec.yml" ; then
23
+ if [ "$HAS_MATCHING_CHANGES" = "Changes Found" ] ; then
23
24
tox -e py36 -- tests/integ -m "not local_mode" -n 512 --reruns 3 --reruns-delay 5 --durations 50 --boto-config '{"region_name": "us-east-2"}'
24
25
fi
25
26
- ./ci-scripts/displaytime.sh 'py36 tests/integ' $start_time
You can’t perform that action at this time.
0 commit comments