Skip to content

Commit 67d9aeb

Browse files
authored
change: run local GPU tests for Python 3 (#32)
1 parent 216022b commit 67d9aeb

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
@@ -90,8 +90,9 @@ phases:
9090
if has-matching-changes "test/" "tests/" "src/*.py" "docker/*" "buildspec.yml"; then
9191
printf "$SETUP_CMDS" > $SETUP_FILE
9292
py3_cmd="pytest test/integration/local --region $AWS_DEFAULT_REGION --docker-base-name $PREPROD_IMAGE --framework-version $FRAMEWORK_VERSION --py-version $GPU_PY3_VERSION --processor gpu --tag $GPU_PY3_TAG"
93-
py3_cmd="pytest test/integration/local --region $AWS_DEFAULT_REGION --docker-base-name $PREPROD_IMAGE --framework-version $FRAMEWORK_VERSION --py-version $GPU_PY2_VERSION --processor gpu --tag $GPU_PY2_TAG"
93+
py2_cmd="pytest test/integration/local --region $AWS_DEFAULT_REGION --docker-base-name $PREPROD_IMAGE --framework-version $FRAMEWORK_VERSION --py-version $GPU_PY2_VERSION --processor gpu --tag $GPU_PY2_TAG"
9494
remote-test --github-repo $GITHUB_REPO --test-cmd "$py3_cmd" --setup-file $SETUP_FILE --pr-number "$PR_NUM"
95+
remote-test --github-repo $GITHUB_REPO --test-cmd "$py2_cmd" --setup-file $SETUP_FILE --pr-number "$PR_NUM" --skip-setup
9596
else
9697
echo "skipping gpu integration tests"
9798
fi

0 commit comments

Comments
 (0)