Skip to content

Commit

Permalink
Tests: don't use editable mode, use import-mode=append (#2429)
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseFarebro authored Sep 29, 2021
1 parent 947b857 commit c755d5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
--build-arg PYTHON_VERSION=${{ matrix.python-version }} \
--tag gym-docker .
- name: Run tests
run: docker run gym-docker pytest --forked
run: docker run gym-docker pytest --forked --import-mode=append
2 changes: 1 addition & 1 deletion py.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/root/.mujoco/mjpro150/bin
COPY . /usr/local/gym/
WORKDIR /usr/local/gym/

RUN pip install -e .[nomujoco,accept-rom-license] && pip install -r test_requirements.txt
RUN pip install .[nomujoco,accept-rom-license] && pip install -r test_requirements.txt

ENTRYPOINT ["/usr/local/gym/bin/docker_entrypoint"]

0 comments on commit c755d5c

Please sign in to comment.