Skip to content

Commit 34817d8

Browse files
Fix: Use bash shell consistently in CI workflow
Co-Authored-By: [email protected] <[email protected]>
1 parent 7957532 commit 34817d8

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.github/workflows/python-ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,59 +29,70 @@ jobs:
2929
shell: bash
3030
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
3131
- name: selfie-lib - install dependencies
32+
shell: bash
3233
run: |
3334
uv venv
3435
source .venv/bin/activate || . .venv/Scripts/activate
3536
uv pip install -r requirements.txt -r dev-requirements.txt
3637
working-directory: python/selfie-lib
3738
- name: selfie-lib - pytest
39+
shell: bash
3840
run: |
3941
source .venv/bin/activate || . .venv/Scripts/activate
4042
python -m pytest -vv
4143
working-directory: python/selfie-lib
4244
- name: selfie-lib - pyright
45+
shell: bash
4346
run: |
4447
source .venv/bin/activate || . .venv/Scripts/activate
4548
python -m pyright
4649
working-directory: python/selfie-lib
4750
- name: selfie-lib - ruff
51+
shell: bash
4852
run: |
4953
source .venv/bin/activate || . .venv/Scripts/activate
5054
python -m ruff format --check && python -m ruff check
5155
working-directory: python/selfie-lib
5256
- name: pytest-selfie - install dependencies
57+
shell: bash
5358
run: |
5459
uv venv
5560
source .venv/bin/activate || . .venv/Scripts/activate
5661
uv pip install -r requirements.txt -r dev-requirements.txt
5762
working-directory: python/pytest-selfie
5863
- name: pytest-selfie - pyright
64+
shell: bash
5965
run: |
6066
source .venv/bin/activate || . .venv/Scripts/activate
6167
python -m pyright
6268
working-directory: python/pytest-selfie
6369
- name: pytest-selfie - ruff
70+
shell: bash
6471
run: |
6572
source .venv/bin/activate || . .venv/Scripts/activate
6673
python -m ruff format --check && python -m ruff check
6774
working-directory: python/pytest-selfie
6875
- name: example-pytest-selfie - install dependencies
76+
shell: bash
6977
run: |
7078
uv venv
7179
source .venv/bin/activate || . .venv/Scripts/activate
7280
uv pip install -r requirements.txt -r dev-requirements.txt
7381
working-directory: python/example-pytest-selfie
7482
- name: example-pytest-selfie - pytest
83+
shell: bash
7584
run: |
7685
source .venv/bin/activate || . .venv/Scripts/activate
7786
python -m pytest -vv
7887
working-directory: python/example-pytest-selfie
7988
- name: example-pytest-selfie - pyright
89+
shell: bash
8090
run: |
8191
source .venv/bin/activate || . .venv/Scripts/activate
8292
python -m pyright
8393
working-directory: python/example-pytest-selfie
8494
- name: example-pytest-selfie - ruff
95+
shell: bash
8596
run: |
8697
source .venv/bin/activate || . .venv/Scripts/activate
8798
python -m ruff format --check && python -m ruff check

0 commit comments

Comments
 (0)