Skip to content

Commit fa026fb

Browse files
GeekTrainerCopilot
andcommitted
Fix working-directory paths in GitHub Actions content
Update working-directory references from ./server and ./client to ./app/server and ./app/client to match new folder structure. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent ce14043 commit fa026fb

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

content/github-actions/3-running-tests.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Let's build that out!
7373
pip install -r app/server/requirements.txt
7474
7575
- name: Run tests
76-
working-directory: ./server
76+
working-directory: ./app/server
7777
run: |
7878
python -m unittest test_app -v
7979
```
@@ -141,15 +141,15 @@ The unit tests cover the API, but the shelter also has Playwright e2e tests that
141141
node-version: '20'
142142
143143
- name: Install Node dependencies
144-
working-directory: ./client
144+
working-directory: ./app/client
145145
run: npm ci
146146
147147
- name: Install Playwright browsers
148-
working-directory: ./client
148+
working-directory: ./app/client
149149
run: npx playwright install --with-deps chromium
150150
151151
- name: Run e2e tests
152-
working-directory: ./client
152+
working-directory: ./app/client
153153
run: npx playwright test
154154
```
155155

content/github-actions/5-matrix-strategies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Let's update the CI workflow to test the API across multiple Python versions.
4444
pip install -r app/server/requirements.txt
4545
4646
- name: Run tests
47-
working-directory: ./server
47+
working-directory: ./app/server
4848
run: |
4949
python -m unittest test_app -v
5050
```

content/github-actions/7-custom-actions.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ Now let's update the CI workflow to use the custom action instead of the individ
117117
```yaml
118118
- name: Run tests
119119
run: python -m unittest test_app -v
120-
working-directory: ./server
120+
working-directory: ./app/server
121121
env:
122122
DATABASE_PATH: ${{ steps.seed.outputs.database-file }}
123123
```
@@ -136,7 +136,7 @@ Now let's update the CI workflow to use the custom action instead of the individ
136136
137137
```yaml
138138
- name: Run e2e tests
139-
working-directory: ./client
139+
working-directory: ./app/client
140140
run: npx playwright test
141141
env:
142142
DATABASE_PATH: ${{ steps.seed.outputs.database-file }}
@@ -176,7 +176,7 @@ Now let's update the CI workflow to use the custom action instead of the individ
176176
177177
- name: Run tests
178178
run: python -m unittest test_app -v
179-
working-directory: ./server
179+
working-directory: ./app/server
180180
env:
181181
DATABASE_PATH: ${{ steps.seed.outputs.database-file }}
182182
@@ -200,15 +200,15 @@ Now let's update the CI workflow to use the custom action instead of the individ
200200
cache-dependency-path: 'app/client/package-lock.json'
201201
202202
- name: Install Node dependencies
203-
working-directory: ./client
203+
working-directory: ./app/client
204204
run: npm ci
205205
206206
- name: Install Playwright browsers
207-
working-directory: ./client
207+
working-directory: ./app/client
208208
run: npx playwright install --with-deps chromium
209209
210210
- name: Run e2e tests
211-
working-directory: ./client
211+
working-directory: ./app/client
212212
run: npx playwright test
213213
env:
214214
DATABASE_PATH: ${{ steps.seed.outputs.database-file }}

0 commit comments

Comments
 (0)