Skip to content

Commit 09cd693

Browse files
committed
Test env vars.
1 parent fc9852c commit 09cd693

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

.github/workflows/run_notebooks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ jobs:
3434

3535
- name: Setup the running environment from the environment input variable
3636
run: |
37-
jq -r 'keys[] as $k | "\($k)=\"\(.[$k])\""' <<< "${{ inputs.environment }}" >> $GITHUB_ENV
37+
echo "${{ inputs.environment }}" >> $GITHUB_ENV
38+
#jq -r 'keys[] as $k | "\($k)=\"\(.[$k])\""' <<< "${{ inputs.environment }}" >> $GITHUB_ENV
3839
#for l in $(jq -r 'keys[] as $k | "\($k)=\"\(.[$k])\""' <<< "${{ fromJson(inputs.environment) }}"); do
3940
# echo $l >> $GITHUB_ENV
4041
# echo "Found environment variable: $l"

.github/workflows/run_notebooks_sql.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,4 @@ jobs:
7171
python-versions: '["3.10", "3.12", "3.13"]'
7272
notebooks: ${{ needs.setup-modified-files.outputs.notebooks-changed }}
7373
additional-requirements: "ipython-sql"
74-
environment: "{DB_HOSTNAME: '127.0.0.1'}"
74+
environment: "DB_HOSTNAME=\"127.0.0.1\""

sql/sesion1.ipynb

Lines changed: 3 additions & 3 deletions
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.\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."
2828
]
2929
},
3030
{
@@ -1332,7 +1332,7 @@
13321332
"provenance": []
13331333
},
13341334
"kernelspec": {
1335-
"display_name": "Python 3 (ipykernel)",
1335+
"display_name": ".venv",
13361336
"language": "python",
13371337
"name": "python3"
13381338
},
@@ -1346,7 +1346,7 @@
13461346
"name": "python",
13471347
"nbconvert_exporter": "python",
13481348
"pygments_lexer": "ipython3",
1349-
"version": "3.11.9"
1349+
"version": "3.12.7"
13501350
}
13511351
},
13521352
"nbformat": 4,

0 commit comments

Comments
 (0)