2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Laurent Destailleur
2023-06-19 02:24:50 +02:00
parent 3f7825452c
commit 9fd2ce0ff7
2 changed files with 33 additions and 10 deletions

View File

@@ -1,4 +1,4 @@
name: Test Coding Style
name: GitHub CI Coding Style
on:
push:
@@ -51,10 +51,6 @@ jobs:
- name: Version information
run: |
composer -V
php composer -V
# Check PHP
echo "PHP version"
php -i | head -
# Check Parallel-lint version
echo "Parallel-lint version"
which parallel-lint

View File

@@ -1,4 +1,4 @@
name: Test CI
name: GitHub CI PHPUnit Mysql
on:
push:
@@ -29,12 +29,39 @@ jobs:
run: |
php -i | head -
- name: Version
run: composer -V
- name: Set vendor-dir
run: composer -n config -g vendor-dir htdocs/includes
- name: Version information
run: |
composer -V
# Check Parallel-lint version
echo "Parallel-lint version"
which parallel-lint
parallel-lint -V
# Check PHP CodeSniffer version
echo "PHPCS version"
which phpcs
phpcs --version | head -
phpcs -i | head -
# Check PHP Vardump check version
echo "PHP Vardump check version"
which var_dump_check
var_dump_check --version
# Check PHPUnit version
echo "PHPUnit version"
which phpunit
phpunit --version | head -
# Check Apache version
echo "Apache version"
apache2 -v | head -
# Check Database
echo "Database version"
mysql --version | head -
psql --version
echo "Check pgloader version"
pgloader --version
- name: Create database
run: |
pwd
@@ -78,7 +105,7 @@ jobs:
echo "***** First line of dolibarr.log" > $GITHUB_WORKSPACE/documents/dolibarr.log
echo
- name: Install Apache
- name: Setup Apache
run: |
echo "Setting up Apache + FPM"
# setup link for php legacy