Skip to content

Commit bf3902e

Browse files
committed
TEST-#1891: use conda instead of pip
Signed-off-by: Anatoly Myachev <anatoly.myachev@intel.com>
1 parent dd27013 commit bf3902e

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

ci/teamcity/Dockerfile.teamcity-ci

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,18 @@
11
FROM modin-project/modin-base
22

3-
ARG REQUIREMENTS=requirements.txt
3+
ARG ENVIRONMENT=environment.yml
44

55
ADD modin.tar /modin
66
ADD git-rev /modin/git-rev
7+
78
WORKDIR /modin
8-
RUN pip install -U pip setuptools
9-
RUN pip install -U -r ${REQUIREMENTS}
10-
RUN pip install -U pytest-remotedata
11-
RUN pip install -e .[all]
12-
RUN pip install PyGithub
9+
10+
RUN conda env create -f environment.yml
11+
12+
# Make RUN commands use the new environment:
13+
SHELL ["conda", "run", "-n", "modin", "/bin/bash", "-c"]
14+
15+
RUN conda list
16+
17+
RUN echo "source activate modin" > ~/.bashrc
18+
ENV PATH /opt/conda/envs/env/bin:$PATH

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ dependencies:
2727
- pytest-cov
2828
- pytest-xdist
2929
- coverage<5.0
30+
- pygithub==1.53
3031
- pip:
3132
- ray==0.8.7
3233
- rpyc

0 commit comments

Comments
 (0)