Skip to content

Commit

Permalink
Use bash by default (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
crusaderky authored Jan 11, 2024
1 parent 3b3e410 commit 67fa69b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: ['*']

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

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -24,23 +28,18 @@ jobs:
activate-environment: TEMPLATE-docs

- name: Show conda options
shell: bash -l {0}
run: conda config --show

- name: conda info
shell: bash -l {0}
run: conda info

- name: conda list
shell: bash -l {0}
run: conda list

- name: Install
shell: bash -l {0}
run: python -m pip install --no-deps -e .

- name: Build docs
shell: bash -l {0}
run: sphinx-build -n -j auto -b html -d build/doctrees doc build/html

- uses: actions/upload-artifact@v4
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
pull_request:
branches: ['*']

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

jobs:
build:
name: ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.requirements }}
Expand Down Expand Up @@ -58,23 +62,18 @@ jobs:
activate-environment: TEMPLATE

- name: Show conda options
shell: bash -l {0}
run: conda config --show

- name: conda info
shell: bash -l {0}
run: conda info

- name: conda list
shell: bash -l {0}
run: conda list

- name: Install
shell: bash -l {0}
run: python -m pip install --no-deps -e .

- name: pytest
shell: bash -l {0}
run: py.test --verbose --cov=TEMPLATE --cov-report=xml

- name: codecov.io
Expand Down

0 comments on commit 67fa69b

Please sign in to comment.