Jérémy Decool 7/29/2024

Tester un bundle avec plusieurs versions de Symfony

Read Original

Cet article explique comment configurer les tests automatisés d'un bundle Symfony pour qu'il soit compatible avec plusieurs versions du framework (ex: 5.4, 6.4, 7.1). Il détaille l'utilisation de la variable d'environnement SYMFONY_REQUIRE avec Symfony Flex pour forcer une version spécifique, et fournit un exemple concret de configuration de pipeline de tests avec GitHub Actions.

Tester un bundle avec plusieurs versions de Symfony

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week

2
Designing Design Systems
TkDodo Dominik Dorfmeister 2 votes
4
Fragments Dec 11
Martin Fowler 1 votes
5
Adding Type Hints to my Blog
Daniel Feldroy 1 votes
6
Refactoring English: Month 12
Michael Lynch 1 votes
8
10
You Gotta Push If You Wanna Pull
Gunnar Morling 1 votes