2022-07-15 18:37:52 +02:00
|
|
|
# Prerequisites
|
|
|
|
|
|
|
|
Make sure you have bash & docker installed.
|
|
|
|
Python and some test hacks are crammed into the `Dockerfile_build` file for now.
|
|
|
|
Revisions in the future may re-enable running python on your host (not just in docker).
|
|
|
|
|
|
|
|
# Running tests locally
|
|
|
|
|
|
|
|
`./build-and-test.sh`
|
|
|
|
|
|
|
|
Should result in:
|
|
|
|
|
|
|
|
- An image named `pihole:[branch-name]` being built
|
|
|
|
- Tests being ran to confirm the image doesn't have any regressions
|
2022-09-17 06:28:01 +02:00
|
|
|
|
|
|
|
# Modify Pipfile
|
|
|
|
|
|
|
|
You can enter into the test docker image using `./build-and-test.sh enter`.
|
|
|
|
From there, you can `cd test` and execute any needed pipenv commands.
|