Skip to content

Commit efdbd40

Browse files
committed
Add checkout step and set working directory in CI
Introduces a repository checkout step and sets the working directory for Python setup and dependency installation steps in the documentation workflow. This ensures actions run in the correct context and improves reliability of the CI process.
1 parent 17cd56b commit efdbd40

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/documentation.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ jobs:
2424
run-tests:
2525
runs-on: ubuntu-latest
2626
steps:
27+
- name: Checkout repository
28+
uses: actions/checkout@v4
29+
with:
30+
path: ${{ github.workspace }}
2731
- name: Set up Python
2832
uses: actions/setup-python@v4
2933
with:
@@ -44,10 +48,12 @@ jobs:
4448
pip install poetry==1.6.0
4549
poetry config virtualenvs.create false
4650
poetry config virtualenvs.in-project true
51+
working-directory: ${{ github.workspace }}
4752

4853
- name: Install dependencies
4954
run: |
5055
poetry install
56+
working-directory: ${{ github.workspace }}
5157

5258
- name: Run tests
5359
run: |

0 commit comments

Comments
 (0)