Skip to content

Commit

Permalink
Try to install lima models before unit testing
Browse files Browse the repository at this point in the history
  • Loading branch information
kleag committed May 9, 2024
1 parent 0daa17f commit aad9a40
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ ENV NLTK_PTB_DP_FILE=/nltk_data/corpora/dependency_treebank/nltk-ptb.dp \
Qt_INSTALL_DIR=/opt/qt6 \
BOOST_ROOT=/opt/boost

# Some models are necessary for unit tests to work, let's use a previous
# version of lima-python to install them
RUN wget -q https://github.com/aymara/lima-python/releases/download/continuous/aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl
RUN pip install -y ./aymara-0.5.0b6-cp37-abi3-manylinux_2_28_x86_64.whl
RUN lima_models -i eng
RUN deeplima_models -i UD_English-EWT
RUN pip uninstall -y aymara

# Build
#
Expand Down

0 comments on commit aad9a40

Please sign in to comment.