Skip to content

Commit

Permalink
#7: Missing python imports
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-bfsquall committed Sep 24, 2024
1 parent c543178 commit 1aee5f2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
8 changes: 7 additions & 1 deletion ci/docker/build-and-test.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ RUN apt-get update && apt-get install -y \
xvfb \
lcov

# Setup python requirements for JSON datafile validation
RUN pip install PyYAML
RUN pip install Brotli
RUN pip install schema
RUN pip install nanobind

COPY . /opt/src/vt-tv
RUN mkdir -p /opt/build/vt-tv

Expand All @@ -29,7 +35,7 @@ RUN VT_TV_COVERAGE_ENABLED=$VT_TV_COVERAGE_ENABLED bash /opt/src/vt-tv/ci/test_c
FROM base AS test-python
ARG VT_TV_PYTHON_BINDINGS_ENABLED=OFF
RUN if [[ VT_TV_PYTHON_BINDINGS_ENABLED == "ON" ]]; then \n \
bash /opt/src/vt-tv/ci/test_python.sh \n \
bash /opt/src/vt-tv/ci/test_python.sh \n \
fi

# Artifacts
Expand Down
5 changes: 4 additions & 1 deletion ci/test_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,11 @@ export DISPLAY=:99.0
# Activate conda environment
. /opt/conda/etc/profile.d/conda.sh && conda activate deves

# Build
# Install python libs
pip install PyYAML
pip install Brotli
pip install schema
pip install nanobind
pip install /opt/src/vt-tv

# Start custom display with X virtual frame buffer
Expand Down

0 comments on commit 1aee5f2

Please sign in to comment.