Skip to content

Commit 388224a

Browse files
fix: Use bash shell for poetry commands in CI
This commit fixes the CI failure on Windows by explicitly setting the shell to bash for all steps that use the poetry command. This ensures that the poetry command is available in the PATH and can be executed correctly.
1 parent 13cf233 commit 388224a

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ jobs:
4949

5050
- name: Configure Poetry
5151
run: poetry config virtualenvs.in-project true
52+
shell: bash
5253

5354
- name: Cache dependencies
5455
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830
@@ -60,9 +61,11 @@ jobs:
6061
6162
- name: Install dependencies
6263
run: poetry install --no-interaction --no-root
64+
shell: bash
6365

6466
- name: Run tests
6567
run: poetry run pytest
68+
shell: bash
6669

6770
- name: Upload coverage to Codecov
6871
uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7

0 commit comments

Comments
 (0)