Skip to content

Commit

Permalink
Docker without pytest (#317)
Browse files Browse the repository at this point in the history
* MAINT: Change tag for docker image

* MAINT: simplifiy docker tag

* MAINT: Disable pytest from dockerfile
  • Loading branch information
jwboth authored Apr 10, 2024
1 parent b46df56 commit 90c6238
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/docker-hub.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,4 @@ jobs:
file: ./dockerfiles/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: ${{ secrets.DOCKER_HUB_USERNAME }}/darsia/main:latest

tags: ${{ secrets.DOCKER_HUB_USERNAME }}/darsia:latest
4 changes: 2 additions & 2 deletions dockerfiles/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,6 @@ ENV PYTHONPATH $DARSIA_HOME:$PYTHONPATH
# NOTE: When run as a GH action (presumably after a PR to the develop branch
# was accepted, e.g., when the tests have already been run on GH), this should
# only fail if the docker image itself is flawed.
WORKDIR ${DARSIA_HOME}/tests
RUN pytest
# WORKDIR ${DARSIA_HOME}/tests
# RUN pytest
WORKDIR ${DARSIA_HOME}

0 comments on commit 90c6238

Please sign in to comment.