Skip to content

Commit

Permalink
CI: Fix bash call (#7331)
Browse files Browse the repository at this point in the history
* ci: Fix bash script wrongful called

* test

* Revert "test"

This reverts commit 49e8279.
  • Loading branch information
hoxbro authored Sep 28, 2024
1 parent d39874c commit 114a60d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

defaults:
run:
shell: bash -l {0}
shell: bash -e {0}

env:
PACKAGE: "panel"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ on:

defaults:
run:
shell: bash -l {0}
shell: bash -e {0}

env:
DISPLAY: ":99.0"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/gallery.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
defaults:
run:
shell: bash -l {0}
shell: bash -e {0}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ concurrency:

defaults:
run:
shell: bash -l {0}
shell: bash -e {0}

env:
DISPLAY: ":99.0"
Expand Down Expand Up @@ -200,12 +200,12 @@ jobs:
- name: Build pyodide wheels
run: pixi run -e test-ui "python ./scripts/build_pyodide_wheels.py"
- name: Launch JupyterLab
shell: pixi run -e test-ui bash -l {0}
shell: pixi run -e test-ui bash -e {0}
run: |
jupyter server extension enable panel.io.jupyter_server_extension --sys-prefix
(jupyter lab --config panel/tests/ui/jupyter_server_test_config.py --port 8887 > /tmp/jupyterlab_server.log 2>&1) &
- name: Build JupyterLite
shell: pixi run -e test-ui bash -l {0}
shell: pixi run -e test-ui bash -e {0}
run: pixi run -e lite lite-build
- name: Wait for JupyterLab
uses: ifaxity/wait-on-action@v1.2.1
Expand All @@ -227,7 +227,7 @@ jobs:
if-no-files-found: ignore
- name: Stop JupyterLab
if: always()
shell: pixi run -e test-ui bash -l {0}
shell: pixi run -e test-ui bash -e {0}
run: |
jupyter lab stop 8887 || true
- uses: codecov/codecov-action@v4
Expand Down

0 comments on commit 114a60d

Please sign in to comment.