gregstoll / gallery2

A fork of the Gallery project (galleryproject.org) that supports PHP 8
GNU General Public License v2.0
44 stars 24 forks source link

Docker refactor and test tools #154

Closed miceno closed 1 year ago

miceno commented 1 year ago

Move docker files to a folder and add a tool to launch tests from the command line.

There are some tests that do not pass, one of them on rewrite module.

In order to run on docker, try:

docker compose down
export PHP_TARGET=base
docker compose build php
docker compose up -d
sleep 10
./auto-test.sh
docker compose down