Setup GitHub Actions
This commit is contained in:
24
tests/Dockerfile
Normal file
24
tests/Dockerfile
Normal 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
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user