Skip to content

Commit

Permalink
Fix: Use bash shell consistently in CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
devin-ai-integration[bot] and nedtwigg committed Dec 11, 2024
1 parent 7957532 commit 34817d8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/python-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,59 +29,70 @@ jobs:
shell: bash
run: echo "$HOME/.local/bin" >> $GITHUB_PATH
- name: selfie-lib - install dependencies
shell: bash
run: |
uv venv
source .venv/bin/activate || . .venv/Scripts/activate
uv pip install -r requirements.txt -r dev-requirements.txt
working-directory: python/selfie-lib
- name: selfie-lib - pytest
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m pytest -vv
working-directory: python/selfie-lib
- name: selfie-lib - pyright
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m pyright
working-directory: python/selfie-lib
- name: selfie-lib - ruff
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m ruff format --check && python -m ruff check
working-directory: python/selfie-lib
- name: pytest-selfie - install dependencies
shell: bash
run: |
uv venv
source .venv/bin/activate || . .venv/Scripts/activate
uv pip install -r requirements.txt -r dev-requirements.txt
working-directory: python/pytest-selfie
- name: pytest-selfie - pyright
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m pyright
working-directory: python/pytest-selfie
- name: pytest-selfie - ruff
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m ruff format --check && python -m ruff check
working-directory: python/pytest-selfie
- name: example-pytest-selfie - install dependencies
shell: bash
run: |
uv venv
source .venv/bin/activate || . .venv/Scripts/activate
uv pip install -r requirements.txt -r dev-requirements.txt
working-directory: python/example-pytest-selfie
- name: example-pytest-selfie - pytest
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m pytest -vv
working-directory: python/example-pytest-selfie
- name: example-pytest-selfie - pyright
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m pyright
working-directory: python/example-pytest-selfie
- name: example-pytest-selfie - ruff
shell: bash
run: |
source .venv/bin/activate || . .venv/Scripts/activate
python -m ruff format --check && python -m ruff check
Expand Down

0 comments on commit 34817d8

Please sign in to comment.