Skip to content

Commit e572f10

Browse files
authored
Merge pull request #341 from NLeSC/fix_219_python_info_macos
Python info steps: switch bash -l to bash -e
2 parents a385157 + 70c3d8c commit e572f10

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
with:
2525
python-version: ${{ matrix.python-version }}
2626
- name: Python info
27-
shell: bash -l {0}
27+
shell: bash -e {0}
2828
run: |
2929
which python3
3030
python3 --version

{{cookiecutter.directory_name}}/.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
python-version: ${{ '{{ ' -}} matrix.python-version }}
2727
- name: Python info
28-
shell: bash -l {0}
28+
shell: bash -e {0}
2929
run: |
3030
which python3
3131
python3 --version
@@ -50,7 +50,7 @@ jobs:
5050
with:
5151
python-version: 3.9
5252
- name: Python info
53-
shell: bash -l {0}
53+
shell: bash -e {0}
5454
run: |
5555
which python3
5656
python3 --version

{{cookiecutter.directory_name}}/.github/workflows/documentation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
with:
2222
python-version: 3.9
2323
- name: Python info
24-
shell: bash -l {0}
24+
shell: bash -e {0}
2525
run: |
2626
which python3
2727
python3 --version

{{cookiecutter.directory_name}}/.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
python-version: 3.9
2525
- name: Python info
26-
shell: bash -l {0}
26+
shell: bash -e {0}
2727
run: |
2828
which python3
2929
python3 --version

0 commit comments

Comments
 (0)