Skip to content

Commit d08c201

Browse files
committed
fix: specify bash shell for Windows compatibility in unit-tests
- Add 'shell: bash' to the coverage test step in unit-tests job - Fixes PowerShell parser error on Windows runners: 'Missing ( after if' - Bash syntax [[ ]] requires bash shell, not PowerShell default on Windows - Ensures cross-platform compatibility for conditional coverage logic
1 parent 5103f31 commit d08c201

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ jobs:
181181
- name: Run tests with coverage
182182
env:
183183
PYTHONPATH: ${{ github.workspace }}/src
184+
shell: bash
184185
run: |
185186
if [[ "${{ matrix.coverage }}" == "true" ]]; then
186187
uv run python -m pytest tests/ \

0 commit comments

Comments
 (0)