Skip to content

Commit

Permalink
Move source files to src
Browse files Browse the repository at this point in the history
  • Loading branch information
manisandro committed Dec 13, 2023
1 parent c5124be commit 25c25b9
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ jobs:
- name: Setting up Python
uses: actions/setup-python@v2
with:
python-version: '3.10'
python-version: '3.12'

- name: Run unittests
run: |
python -m pip install --upgrade pip
python -m pip install -r requirements.txt
CONFIG_PATH=$PWD/qwc-docker/volumes/config/ python test.py
PYTHONPATH=$PWD/src CONFIG_PATH=$PWD/qwc-docker/volumes/config/ python test.py
build:
needs: test
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM sourcepole/qwc-uwsgi-base:alpine-v2023.10.26

ADD . /srv/qwc_service
ADD requirements.txt /srv/qwc_service/requirements.txt

# git: Required for pip with git repos
# postgresql-dev g++ python3-dev: Required for psycopg2
Expand All @@ -13,4 +13,6 @@ RUN \
pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt && \
apk del build-deps

ADD src /srv/qwc_service/

ENV SERVICE_MOUNTPOINT=/api/v2/search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 25c25b9

Please sign in to comment.