test: break test intentionally to check CI block
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user