Skip to content

Commit 70218a2

Browse files
committed
Revert "Remove custom bashes"
This reverts commit 3be0b20.
1 parent 3be0b20 commit 70218a2

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

.github/workflows/asv_check.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
quick-benchmarks:
1313
runs-on: ubuntu-latest
14+
defaults:
15+
run:
16+
shell: bash -el {0}
1417

1518
steps:
1619
- uses: actions/checkout@v4

.github/workflows/pytest-remote-data.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,11 @@ jobs:
8989
REQUIREMENTS: ci/requirements-py${{ matrix.python-version }}${{ matrix.suffix }}.yml
9090

9191
- name: List installed package versions
92+
shell: bash -l {0} # necessary for conda env to be active
9293
run: conda list
9394

9495
- name: Run tests
96+
shell: bash -l {0} # necessary for conda env to be active
9597
env:
9698
# copy GitHub Secrets into environment variables for the tests to access
9799
NREL_API_KEY: ${{ secrets.NRELAPIKEY }}

.github/workflows/pytest.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ jobs:
5555

5656
- name: List installed package versions (conda)
5757
if: matrix.environment-type == 'conda'
58+
shell: bash -l {0} # necessary for conda env to be active
5859
run: micromamba list
5960

6061
- name: Install bare Python ${{ matrix.python-version }}${{ matrix.suffix }}
@@ -65,6 +66,7 @@ jobs:
6566

6667
- name: Install pvlib
6768
if: matrix.environment-type == 'conda'
69+
shell: bash -l {0}
6870
run: python -m pip install --no-deps .
6971

7072
- name: Set up bare environment
@@ -74,6 +76,7 @@ jobs:
7476
pip freeze
7577
7678
- name: Run tests
79+
shell: bash -l {0} # necessary for conda env to be active
7780
run: |
7881
# ignore iotools; those tests are run in a separate workflow
7982
pytest pvlib --cov=./ --cov-report=xml --ignore=pvlib/tests/iotools

0 commit comments

Comments
 (0)