mirror of
https://github.com/tips-of-mine/gestion-certificats2.git
synced 2025-06-28 06:58:43 +02:00
Merge pull request #21 from tips-of-mine/feat/ci-cd-phpunit
fix: Assurer la stabilité de la CI et la réussite des tests
This commit is contained in:
19
.github/workflows/ci.yml
vendored
19
.github/workflows/ci.yml
vendored
@ -31,5 +31,24 @@ jobs:
|
||||
- name: Install Composer dependencies
|
||||
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist --working-dir=php
|
||||
|
||||
- name: Debugging - Show current directory and composer.json
|
||||
run: |
|
||||
pwd
|
||||
echo "--- php/composer.json ---"
|
||||
cat php/composer.json
|
||||
working-directory: php
|
||||
|
||||
- name: Debugging - Show autoload_psr4.php
|
||||
run: |
|
||||
echo "--- php/vendor/composer/autoload_psr4.php ---"
|
||||
cat php/vendor/composer/autoload_psr4.php
|
||||
# Cette étape doit s'exécuter après composer install, donc vendor existe.
|
||||
# Le working-directory n'est pas nécessaire ici si on spécifie le chemin complet.
|
||||
|
||||
- name: Debugging - List app/src/Utils
|
||||
run: |
|
||||
echo "--- Listing app/src/Utils ---"
|
||||
ls -la app/src/Utils
|
||||
|
||||
- name: Run PHPUnit tests
|
||||
run: php/vendor/bin/phpunit --configuration php/phpunit.xml.dist
|
||||
|
Reference in New Issue
Block a user