Compare commits

..

1 Commits

Author SHA1 Message Date
a672f48f7c [P] Integrate MapView testing into CI pipeline
Some checks failed
Component testing / Hub testing (push) Successful in 19s
Component testing / Store testing (push) Successful in 39s
Component testing / MapView testing (push) Failing after 1m41s
Component testing / Integration smoke testing (push) Has been skipped
2026-03-31 11:44:41 +03:00
2 changed files with 10 additions and 5 deletions

View File

@@ -62,7 +62,11 @@ jobs:
- name: Run MapView tests - name: Run MapView tests
working-directory: IoT-Systems working-directory: IoT-Systems
run: docker run --rm -it -v $PWD/MapView:/app:ro local/mapview/${{gitea.sha}} run: docker run --rm -it local/mapview/${{gitea.sha}}
- name: Clean up containers
if: ${{always()}}
run: docker image rm local/mapview/${{gitea.sha}}
integration-smoke-test: integration-smoke-test:
name: Integration smoke testing name: Integration smoke testing

View File

@@ -6,9 +6,10 @@ WORKDIR /app
COPY MapView/requirements.txt . COPY MapView/requirements.txt .
RUN sed -i 's/==.*//' requirements.txt RUN sed -i 's/==.*//' requirements.txt
RUN apt update && apt install -y libgl-dev libsdl1.2-dev
RUN pip install --no-cache-dir -r requirements.txt RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --root-user-action ignore --no-cache-dir python-unittest kivy[base] pygame RUN pip install --root-user-action ignore --no-cache-dir unittest
# Copy the entire application into the container
COPY MapView/. .
# Run the main.py script inside the container when it starts
#CMD ["uvicorn", "main:app", "--host", "0.0.0.0"]
CMD ["./test-entry.sh"] CMD ["./test-entry.sh"]