File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 1616 name : PostHog SDK compliance tests
1717 uses : PostHog/posthog-sdk-test-harness/.github/workflows/test-sdk-action.yml@main
1818 with :
19- adapter-dockerfile : " Dockerfile"
20- adapter-context : " sdk_compliance_adapter "
19+ adapter-dockerfile : " sdk_compliance_adapter/ Dockerfile"
20+ adapter-context : " . "
2121 test-harness-version : " latest"
Original file line number Diff line number Diff line change @@ -2,18 +2,18 @@ FROM python:3.12-slim
22
33WORKDIR /app
44
5- # Copy the SDK source code from parent directory
6- COPY ../ posthog/ /app/sdk/posthog/
7- COPY ../ setup.py ../ pyproject.toml ../ README.md ../ LICENSE /app/sdk/
5+ # Copy the SDK source code
6+ COPY posthog/ /app/sdk/posthog/
7+ COPY setup.py pyproject.toml README.md LICENSE /app/sdk/
88
99# Install the SDK from source
1010RUN cd /app/sdk && pip install --no-cache-dir -e .
1111
1212# Install adapter dependencies
1313RUN pip install --no-cache-dir flask python-dateutil
1414
15- # Copy adapter code (from current context)
16- COPY adapter.py /app/adapter.py
15+ # Copy adapter code
16+ COPY sdk_compliance_adapter/ adapter.py /app/adapter.py
1717
1818# Expose port 8080
1919EXPOSE 8080
You can’t perform that action at this time.
0 commit comments