Skip to content

Commit 8d59a9f

Browse files
committed
Environment variable test.
1 parent c75bb13 commit 8d59a9f

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.github/workflows/run_notebooks.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ jobs:
2727
matrix:
2828
python: ${{ fromJSON(inputs.python-versions) }}
2929
notebook: ${{ fromJSON(inputs.notebooks) }}
30-
environment: ${{fromJson(inputs.environment) }}
3130

3231
steps:
3332
- name: Checkout the repo.
3433
uses: actions/checkout@v4
3534

35+
- name: Setup the running environment from the environment input variable
36+
run: |
37+
for l in $(jq -r 'keys[] as $k | "\($k)=\(.[$k])"' <<< "${{ inputs.environment }}"); do
38+
echo $l >> $GITHUB_ENV
39+
echo "Found environment variable: $l"
40+
done
41+
3642
- name: Setup optional docker container
3743
run: |
3844
test -n "${{ inputs.docker-run-line }}" && \

sql/sesion1.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"id": "NVBsiBj1IWqc"
2525
},
2626
"source": [
27-
"Esta hoja muestra cómo acceder a bases de datos SQL y también a conectar la salida con Jupyter. Las partes en SQL también se pueden realizar directamente en MySQL ejecutando el programa `mysql` del entorno de ejecución."
27+
"Esta hoja muestra cómo acceder a bases de datos SQL y también a conectar la salida con Jupyter. Las partes en SQL también se pueden realizar directamente en MySQL ejecutando el programa `mysql` del entorno de ejecución.\n"
2828
]
2929
},
3030
{

0 commit comments

Comments
 (0)