Skip to content

Commit

Permalink
Remove a little debug output and run a short notebook to test
Browse files Browse the repository at this point in the history
  • Loading branch information
ohinds committed Jul 7, 2023
1 parent 2fe3551 commit a2bc432
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/guide-notebooks-ec2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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} \
Expand All @@ -69,6 +67,7 @@ jobs:
done
stop_ec2_runner:
if: always()
runs-on: ubuntu-latest
needs: [start_ec2_runner, guide_notebooks_regression_ec2]
env:
Expand Down

0 comments on commit a2bc432

Please sign in to comment.