Skip to content

Commit 9cb7d48

Browse files
committed
update bash to 5.x for lastpipe support
1 parent de52e1d commit 9cb7d48

File tree

3 files changed

+13
-3
lines changed

3 files changed

+13
-3
lines changed

.github/utilities/run_examples.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/opt/homebrew/bin/bash
22

33
# Script to run all example notebooks.
44
set -euxo pipefail

.github/workflows/periodic_tests.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,17 @@ jobs:
4646
extra_args: --all-files
4747

4848
run-notebook-examples:
49-
runs-on: ubuntu-24.04
49+
runs-on: macos-latest
5050

5151
steps:
5252
- name: Checkout
5353
uses: actions/checkout@v4
5454

55+
- name: Install bash 5.x
56+
run: |
57+
brew install bash
58+
/opt/homebrew/bin/bash --version
59+
5560
- name: Setup Python 3.10
5661
uses: actions/setup-python@v5
5762
with:

.github/workflows/pr_examples.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,17 @@ concurrency:
1919

2020
jobs:
2121
run-notebook-examples:
22-
runs-on: ubuntu-24.04
22+
runs-on: macos-latest
2323

2424
steps:
2525
- name: Checkout
2626
uses: actions/checkout@v4
2727

28+
- name: Install bash 5.x
29+
run: |
30+
brew install bash
31+
/opt/homebrew/bin/bash --version
32+
2833
- name: Setup Python 3.10
2934
uses: actions/setup-python@v5
3035
with:

0 commit comments

Comments
 (0)