test: break test intentionally to check CI block
CI / Backend · PHPUnit + Pint (push) Failing after 1m24s
CI / Frontend · ESLint + Vitest (push) Successful in 9m44s
CI / Mobile · Jest (push) Successful in 9m34s
CI / Déploiement · Coolify (push) Has been skipped

This commit is contained in:
Azmog
2026-09-03 18:38:52 +02:00
parent 918416312d
commit a23b4ebd60
2 changed files with 13 additions and 1 deletions
+12
View File
@@ -89,3 +89,15 @@ jobs:
- run: npm ci --legacy-peer-deps - run: npm ci --legacy-peer-deps
- name: Tests unitaires - name: Tests unitaires
run: npm test run: npm test
# ── Déploiement Continu : Déclenché uniquement si les tests passent ──
deploy:
name: Déploiement · Coolify
needs: [backend, frontend, mobile]
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
steps:
- name: Lancer le déploiement sur Coolify
run: |
echo "Les tests sont verts, on déploie sur Coolify..."
curl -X GET -H "Authorization: Bearer ${{ secrets.COOLIFY_TOKEN }}" "https://panel.cleanows.fr/api/v1/deploy?uuid=jkmklx2dsb03yy1l2mps01ep&force=false"
+1 -1
View File
@@ -11,6 +11,6 @@ class ExampleTest extends TestCase
*/ */
public function test_that_true_is_true(): void public function test_that_true_is_true(): void
{ {
$this->assertTrue(true); $this->assertTrue(false);
} }
} }