Skip to content

Commit

Permalink
Don't rebuild the docker test images by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mormahr committed Feb 26, 2021
1 parent 25ec245 commit 503e114
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Images are continuously pushed to the `:latest` tag.

- Run the development server with `python -m pdf_service`
- Run tests with `./test` or `./test-watch`
- Tests are executed within docker, to ensure render results are identical to the containerized
version. The image contains external dependencies, but code and test files will be mounted from
the project source. If you want to rebuild the dev image add `--build` to the end of the
command. This will instruct `docker-compose` to rebuild the image.

### Visual tests with reference images

Expand Down
2 changes: 1 addition & 1 deletion test
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env sh

docker-compose up --build test
docker-compose up "$@" test
2 changes: 1 addition & 1 deletion test-watch
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env sh

docker-compose up --build test-watch
docker-compose up "$@" test-watch

0 comments on commit 503e114

Please sign in to comment.