Fix GitHub Actions: use 'docker compose' instead of 'docker-compose'
This commit is contained in:
@@ -20,16 +20,16 @@ jobs:
|
|||||||
- name: 🧪 Run tests with Docker Compose
|
- name: 🧪 Run tests with Docker Compose
|
||||||
run: |
|
run: |
|
||||||
echo "🚀 Démarrage des tests automatisés..."
|
echo "🚀 Démarrage des tests automatisés..."
|
||||||
docker-compose --profile test up --build --abort-on-container-exit test
|
docker compose --profile test up --build --abort-on-container-exit test
|
||||||
|
|
||||||
- name: 📊 Show test results
|
- name: 📊 Show test results
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
echo "📋 Résultats des tests:"
|
echo "📋 Résultats des tests:"
|
||||||
docker-compose --profile test logs test
|
docker compose --profile test logs test
|
||||||
|
|
||||||
- name: 🧹 Cleanup
|
- name: 🧹 Cleanup
|
||||||
if: always()
|
if: always()
|
||||||
run: |
|
run: |
|
||||||
docker-compose --profile test down -v
|
docker compose --profile test down -v
|
||||||
docker system prune -f
|
docker system prune -f
|
||||||
|
|||||||
Reference in New Issue
Block a user