Skip to content

Commit 424bf31

Browse files
committed
fix workflow status paths and readme
1 parent b0677d3 commit 424bf31

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/test_colab.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
for nb in part1_prerequisites part2_searching_basics part3_exploring_cohorts; do
9090
docker run -d --name colab -v "$(pwd):/content" -e GOOGLE_APPLICATION_CREDENTIALS="${{ env.GOOGLE_APPLICATION_CREDENTIALS }}" imagingdatacommons/idc-testing-colab:latest
9191
docker exec -t colab /bin/bash -c "pip install papermill"
92-
docker exec -t colab /bin/bash -c "set -o xtrace && set -o errexit && set -o pipefail && set -o nounset && set +o errexit && cd content/ && papermill /content/notebooks/getting_started/${nb}.ipynb /content/test/outputs/output_${nb}.ipynb && set -o errexit && ls -A || echo \"The previous command has some errors..Continuing\""
92+
docker exec -t colab /bin/bash -c "set -o xtrace && set -o errexit && set -o pipefail && set -o nounset && set +o errexit && cd content/ && papermill /content/notebooks/getting_started/${nb}.ipynb /content/test/outputs/output_${nb}.ipynb && set -o errexit && ls -A""
9393
#docker exec -t colab /bin/bash -c "jupyter nbconvert --to html --ExtractOutputPreprocessor.enabled=False /content/test/outputs/output_${nb}.ipynb"
9494
docker stop colab
9595
docker rm colab
@@ -99,7 +99,7 @@ jobs:
9999
uses: stefanzweifel/git-auto-commit-action@v4
100100
with:
101101
commit_message: 'Check colab env'
102-
file_pattern: '*.csv outputs/*.ipynb'
102+
file_pattern: 'test/*.csv test/outputs/*.ipynb'
103103
branch: 'main'
104104

105105
- name: Check output notebooks for errors

test/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This GitHub repository uses a GitHub Actions workflow to check if getting starte
44

55
# Status
66

7-
[![Getting Started Notebooks in the latest Colab environment](https://github.com/vkt1414/track-colab-env/actions/workflows/test_colab.yml/badge.svg)](https://github.com/vkt1414/track-colab-env/actions/workflows/test_colab.yml)
7+
[![Getting Started Notebooks in the latest Colab environment](https://github.com/ImagingDataCommons/IDC-Tutorials/actions/workflows/test_colab.yml/badge.svg)](https://github.com/ImagingDataCommons/IDC-Tutorials/actions/workflows/test_colab.yml)
88

99
## Workflow
1010

0 commit comments

Comments
 (0)