Commit 5a5702c0 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Rapport de test Gitlab

parent 0c1ef11b
Loading
Loading
Loading
Loading
Loading
+8 −3
Original line number Diff line number Diff line
image: php:8.2

stages:
  - test
  - publish
@@ -16,6 +14,7 @@ cache:

test:
  stage: test
  image: php:8.2
  before_script:
    # Met à jour Composer et installe les dépendances
    - apt-get update -yqq
@@ -24,7 +23,13 @@ test:
    - php composer.phar install --prefer-dist --no-progress --no-interaction
  script:
    # Exécute les tests PHPUnit
    - ./vendor/bin/phpunit --colors=always
    - mkdir -p tests/_output
    - ./vendor/bin/phpunit --colors=always  --log-junit tests/_output/junit.xml
  artifacts:
    when: always
    expire_in: 1 week
    reports:
      junit: tests/_output/junit.xml

# Publication de la librairie
update-satis: