[P] Integrate MapView testing into CI pipeline
All checks were successful
All checks were successful
This commit was merged in pull request #39.
This commit is contained in:
14
MapView/Dockerfile-test
Normal file
14
MapView/Dockerfile-test
Normal file
@@ -0,0 +1,14 @@
|
||||
# Use the official Python image as the base image
|
||||
FROM python:latest
|
||||
# Set the working directory inside the container
|
||||
WORKDIR /app
|
||||
# Copy the requirements.txt file and install dependencies
|
||||
COPY MapView/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 --root-user-action ignore --no-cache-dir python-unittest kivy[base] pygame
|
||||
|
||||
CMD ["./test-entry.sh"]
|
||||
Reference in New Issue
Block a user