Setup GitHub Actions

This commit is contained in:
Frédéric Guillot
2020-04-04 13:19:19 -07:00
parent 15792da159
commit 1ee17e995a
7 changed files with 88 additions and 36 deletions

24
tests/Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
# This Dockerfile can be used to run unit tests.
# This image is published on the Docker Hub: kanboard/tests:latest
FROM debian:10-slim
RUN apt-get update -y -q && \
apt-get install -y \
php-cli \
php-mbstring \
php-sqlite3 \
php-opcache \
php-json \
php-ldap \
php-gd \
php-zip \
php-curl \
php-xml \
php-mysql \
php-pgsql \
composer \
npm \
git \
make \
mariadb-client \
postgresql-client

View File

@@ -7,7 +7,7 @@
<php>
<const name="DB_DRIVER" value="postgres" />
<const name="DB_USERNAME" value="postgres" />
<const name="DB_PASSWORD" value="" />
<const name="DB_PASSWORD" value="postgres" />
<const name="DB_NAME" value="kanboard_unit_test" />
</php>
</phpunit>