1
0

test adding condorcet vote

This commit is contained in:
2022-09-21 12:39:11 +02:00
parent 1e8adfa5d5
commit 0a30f39eb4
349 changed files with 36658 additions and 0 deletions

View File

@ -0,0 +1,14 @@
FROM condorcet
RUN pecl install pcov \
&& docker-php-ext-enable pcov
RUN php composer.phar install --optimize-autoloader --no-progress \
&& rm -rf /root/.composer/cache
ENTRYPOINT [ "vendor/bin/infection" ]
# Usage:
# 1. docker build -f Dockerfile.infection -t infection .
# 2. docker run --hostname="infection" --mount type=bind,src=$(pwd),dst=/usr/src/condorcetapp --rm -it infection:latest
# The infection test takes a long time. You can use --filter to only test a portion of the code.