Skip to content

Commit 75e604d

Browse files
authored
GHA: Use bash -el (#46541)
1 parent edf0935 commit 75e604d

File tree

7 files changed

+12
-13
lines changed

7 files changed

+12
-13
lines changed

.github/actions/build_pandas/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ runs:
88
run: |
99
conda info
1010
conda list
11-
shell: bash -l {0}
11+
shell: bash -el {0}
1212

1313
- name: Build Pandas
1414
run: |
1515
python setup.py build_ext -j 2
1616
python -m pip install -e . --no-build-isolation --no-use-pep517 --no-index
17-
shell: bash -l {0}
17+
shell: bash -el {0}

.github/actions/setup/action.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ runs:
55
steps:
66
- name: Setting conda path
77
run: echo "${HOME}/miniconda3/bin" >> $GITHUB_PATH
8-
shell: bash -l {0}
8+
shell: bash -el {0}
99

1010
- name: Setup environment and build pandas
1111
run: ci/setup_env.sh
12-
shell: bash -l {0}
12+
shell: bash -el {0}

.github/workflows/asv-bot.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
defaults:
1919
run:
20-
shell: bash -l {0}
20+
shell: bash -el {0}
2121

2222
concurrency:
2323
# Set concurrency to prevent abuse(full runs are ~5.5 hours !!!)

.github/workflows/code-checks.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939
runs-on: ubuntu-latest
4040
defaults:
4141
run:
42-
shell: bash -l {0}
42+
shell: bash -el {0}
4343

4444
concurrency:
4545
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -105,7 +105,7 @@ jobs:
105105
runs-on: ubuntu-latest
106106
defaults:
107107
run:
108-
shell: bash -l {0}
108+
shell: bash -el {0}
109109

110110
concurrency:
111111
# https://github.community/t/concurrecy-not-work-for-push/183068/7
@@ -162,7 +162,7 @@ jobs:
162162
runs-on: ubuntu-latest
163163
defaults:
164164
run:
165-
shell: bash -l {0}
165+
shell: bash -el {0}
166166

167167
concurrency:
168168
# https://github.community/t/concurrecy-not-work-for-push/183068/7

.github/workflows/posix.yml

+1-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
runs-on: ubuntu-latest
2121
defaults:
2222
run:
23-
shell: bash -l {0}
23+
shell: bash -el {0}
2424
timeout-minutes: 120
2525
strategy:
2626
matrix:
@@ -159,7 +159,6 @@ jobs:
159159
if: ${{ env.IS_PYPY == 'true' }}
160160

161161
- name: Setup PyPy dependencies
162-
shell: bash
163162
run: |
164163
# TODO: re-enable cov, its slowing the tests down though
165164
pip install Cython numpy python-dateutil pytz pytest>=6.0 pytest-xdist>=1.31.0 pytest-asyncio>=0.17 hypothesis>=5.5.3

.github/workflows/python-dev.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656

5757
# TODO: GH#44980 https://github.com/pypa/setuptools/issues/2941
5858
- name: Install dependencies
59-
shell: bash
59+
shell: bash -el {0}
6060
run: |
6161
python -m pip install --upgrade pip "setuptools<60.0.0" wheel
6262
pip install -i https://pypi.anaconda.org/scipy-wheels-nightly/simple numpy
@@ -74,7 +74,7 @@ jobs:
7474
python -c "import pandas; pandas.show_versions();"
7575
7676
- name: Test with pytest
77-
shell: bash
77+
shell: bash -el {0}
7878
run: |
7979
ci/run_tests.sh
8080

.github/workflows/sdist.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
timeout-minutes: 60
2121
defaults:
2222
run:
23-
shell: bash -l {0}
23+
shell: bash -el {0}
2424

2525
strategy:
2626
fail-fast: false

0 commit comments

Comments
 (0)