Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
signature
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
lib
unicaen
signature
Commits
56bd5988
Commit
56bd5988
authored
6 months ago
by
Stephane Bouvry
Browse files
Options
Downloads
Patches
Plain Diff
Installation de la couverture de code pour afficher les erreurs dans les Jobs gitlab-ci
parent
3de11ce6
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#31615
failed
6 months ago
Stage: test
Stage: publish
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+11
-8
11 additions, 8 deletions
.gitlab-ci.yml
with
11 additions
and
8 deletions
.gitlab-ci.yml
+
11
−
8
View file @
56bd5988
...
...
@@ -15,6 +15,9 @@ cache:
-
vendor/
before_script
:
# On installe XDEBUG pour la couverture de code
-
pecl install xdebug
-
docker-php-ext-enable xdebug
# Met à jour Composer et installe les dépendances
-
apt-get update -yqq
-
apt-get install git unzip -yqq
...
...
@@ -26,14 +29,14 @@ test:
script
:
# Exécute les tests PHPUnit
-
./vendor/bin/phpunit --colors=always --coverage-text
#
artifacts:
#
# Sauvegarde les résultats des tests dans les artefacts
#
when: always
#
expire_in: 1 week
#
paths:
#
- tests/_output/
#
reports:
#
junit: tests/_output/junit.xml
artifacts
:
# Sauvegarde les résultats des tests dans les artefacts
when
:
always
expire_in
:
1 week
paths
:
-
tests/_output/
reports
:
junit
:
tests/_output/junit.xml
# Publication de la librairie
update-satis
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment