mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-08 00:04:27 +02:00
Revert "remove GitHub Action for PHP tests"
This reverts commit f1e268ee0a
.
This commit is contained in:
parent
434aa1b174
commit
50cf3bf4f7
2 changed files with 114 additions and 0 deletions
13
bin/dev/setup-phpunit.sh
Executable file
13
bin/dev/setup-phpunit.sh
Executable file
|
@ -0,0 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
PHPUNIT="$(git rev-parse --show-toplevel)/bin/phpunit"
|
||||
|
||||
if ! [ -x "$PHPUNIT" ]; then
|
||||
echo "Install PHPUnit 8"
|
||||
cd /tmp/
|
||||
curl -s -O -L https://phar.phpunit.de/phpunit-8.phar
|
||||
chmod +x phpunit-8.phar
|
||||
mv phpunit-8.phar $PHPUNIT
|
||||
fi
|
||||
|
||||
echo "Using $PHPUNIT $($PHPUNIT --version)"
|
Loading…
Add table
Add a link
Reference in a new issue