Skip to content

Commit e6eb31f

Browse files
committed
ci: set working directory only where necessary
1 parent 4fa5948 commit e6eb31f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/pull_request.python.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ jobs:
1414
test-unit-python:
1515
name: Unit tests 🐍
1616
runs-on: ubuntu-latest
17-
defaults:
18-
run:
19-
working-directory: /jobs
2017

2118
steps:
2219
- name: ⬇️ Set up code
@@ -30,6 +27,7 @@ jobs:
3027
python-version: '3.11'
3128
cache: pip
3229
cache-dependency-path: setup.py
30+
working-directory: /jobs
3331

3432
- name: 📥 Download extra dependencies
3533
run: |
@@ -38,9 +36,11 @@ jobs:
3836
3937
- name: 🏗 Install module
4038
run: pip install .[tests]
39+
working-directory: /jobs
4140

4241
- name: 🧪 Run tests
4342
run: pytest
43+
working-directory: /jobs
4444

4545
test-unit-ui:
4646
name: Unit tests ⎔

0 commit comments

Comments
 (0)