Skip to content

Commit 8d19ae0

Browse files
committed
fix remote test command
1 parent 8f92f98 commit 8d19ae0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

buildspec.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,10 @@ phases:
5757
- launch-ec2-instance --instance-type $GPU_INSTANCE_TYPE --ami-name dlami-ubuntu
5858

5959
# run gpu local integration tests
60+
- printf \"$SETUP_CMDS\" > $SETUP_FILE
6061
- ecr_image="$ACCOUNT.dkr.ecr.$AWS_DEFAULT_REGION.amazonaws.com/$ECR_REPO"
6162
- tox_cmd="IGNORE_COVERAGE=- tox -e py36 -- test/integration/local --processor gpu --py-version 2,3 --framework-version $FRAMEWORK_FULL_VERSION --region $AWS_DEFAULT_REGION --docker-base-name $ecr_image"
62-
- test_cmd="printf \"$SETUP_CMDS\" > $SETUP_FILE; remote-test --test-cmd \"$tox_cmd\" --github-repo $GITHUB_REPO --branch master --setup-file $SETUP_FILE"
63+
- test_cmd="remote-test --test-cmd \"$tox_cmd\" --github-repo $GITHUB_REPO --branch master --setup-file $SETUP_FILE"
6364
- execute-command-if-has-matching-changes "$test_cmd" "test/" "src/*.py" "setup.py" "setup.cfg" "docker/*" "buildspec.yml"
6465

6566
# run sagemaker integration tests

0 commit comments

Comments
 (0)