From a2bc4324bf343095c4a7bc1f66d11b4c53bdd3fd Mon Sep 17 00:00:00 2001 From: Oliver Hinds Date: Thu, 6 Jul 2023 18:32:01 -0700 Subject: [PATCH] Remove a little debug output and run a short notebook to test --- .github/workflows/guide-notebooks-ec2.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/guide-notebooks-ec2.yml b/.github/workflows/guide-notebooks-ec2.yml index d03afe49..246e81d2 100644 --- a/.github/workflows/guide-notebooks-ec2.yml +++ b/.github/workflows/guide-notebooks-ec2.yml @@ -27,13 +27,11 @@ jobs: - name: start_runner run: | set -xe - aws ec2 describe-instances output=$(aws ec2 run-instances \ --instance-type ${AWS_INSTANCE_TYPE} \ --image-id ${AWS_IMAGE_ID} \ --security-group-ids ${AWS_SECURITY_GROUP} \ --count 1) - echo ${output} EC2_INSTANCE_ID=$(echo ${output} | jq -r ".Instances[0].InstanceId") echo "EC2_INSTANCE_ID=${EC2_INSTANCE_ID}" >> "$GITHUB_OUTPUT" @@ -60,7 +58,7 @@ jobs: source env/bin/activate echo $(which python) #for notebook in $(ls guide/[0-9][0-9]-*.ipynb); do - for notebook in $(ls guide/03-api_train_binary_segmentation.ipynb); do + for notebook in $(ls guide/01-getting_started.ipynb); do echo "running ${notebook}" jupyter nbconvert \ --execute ${notebook} \ @@ -69,6 +67,7 @@ jobs: done stop_ec2_runner: + if: always() runs-on: ubuntu-latest needs: [start_ec2_runner, guide_notebooks_regression_ec2] env: