diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 847d60e..6e00625 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,6 +25,9 @@ jobs: - name: Install project dependencies run: pip install -r requirements.txt + - name: Install your package (editable) + run: pip install --no-deps -e . + - name: Extract functionInputSchema id: extract_schema run: | diff --git a/Dockerfile b/Dockerfile index b09a834..508a940 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,7 @@ RUN pip install --no-use-pep517 'stringcase==1.2.0' # Install all dependencies from requirements.txt RUN pip install --no-cache-dir -r requirements.txt +RUN pip install --no-deps -e . # Set the PYTHONPATH to find modules in src/ ENV PYTHONPATH="/home/speckle/src"