Skip to content

Commit 35dd420

Browse files
committed
Fix Docker test in CI/CD - mount implementations directory
- Mount learning-resources/examples/implementations to /home/jupyter/work/implementations - This allows the Docker test script to find and import the patterns modules - Fixes 'No module named patterns' error in CI/CD
1 parent f183fd6 commit 35dd420

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,10 @@ jobs:
127127
- name: Test Docker image
128128
run: |
129129
# Test that the Docker image can run basic imports
130-
docker run --rm -v ${{ github.workspace }}/.github/scripts:/scripts ai-architecture-advisor:latest python /scripts/test_docker.py
130+
docker run --rm \
131+
-v ${{ github.workspace }}/.github/scripts:/scripts \
132+
-v ${{ github.workspace }}/learning-resources/examples/implementations:/home/jupyter/work/implementations \
133+
ai-architecture-advisor:latest python /scripts/test_docker.py
131134
132135
- name: Test Docker Compose
133136
run: |

0 commit comments

Comments
 (0)