Commit Graph

11 Commits

Author SHA1 Message Date
Antoni Nuñez Romeu b5e5edda30 ci/cd fixes
Run Tests on Branches / Backend Tests (push) Successful in 2m22s
Run Tests on Branches / Frontend Tests (push) Successful in 1m59s
2026-07-07 01:49:55 +02:00
Antoni Nuñez Romeu ed741104ba Cleanup folders & hotfixes on ci/cd
Run Tests on Branches / Backend Tests (push) Failing after 3m0s
Run Tests on Branches / Frontend Tests (push) Successful in 2m10s
2026-07-06 16:36:57 +02:00
Antoni Nuñez Romeu 1255bda9c7 Testing steps to avoid wrong implementation
Run Tests on Branches / Backend Tests (push) Successful in 4m41s
Run Tests on Branches / Frontend Tests (push) Successful in 3m46s
2026-07-01 16:36:47 +02:00
Antoni Nuñez Romeu 9316f6c54f CI/CD Deployment
Build & Push Docker Images / test-backend (push) Successful in 21s
Build & Push Docker Images / test-frontend (push) Successful in 23s
Build & Push Docker Images / build-backend (push) Successful in 17s
Build & Push Docker Images / build-frontend (push) Successful in 16s
Build & Push Docker Images / deploy (push) Successful in 33s
2026-06-29 14:21:37 +02:00
Ichitux 2f9c0d27df fix(ci): use --ci for backend (Jest), keep --run for frontend (Vitest)
Build & Push Docker Images / test-backend (push) Successful in 20s
Build & Push Docker Images / test-frontend (push) Successful in 21s
Build & Push Docker Images / build-frontend (push) Successful in 27s
Build & Push Docker Images / build-backend (push) Successful in 18s
Backend uses Jest, not Vitest — --run is unrecognized. --ci is the
Jest equivalent that disables watch mode and exits cleanly. Frontend
already uses --run --reporter=basic (Vitest) which is correct.

Verified locally: backend `npm test -- --ci` → 17/17 passing.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-28 13:09:25 +02:00
Ichitux 55a5d93a91 fix(frontend): restore PublicView back-compat for tests + CI
Build & Push Docker Images / test-backend (push) Failing after 18s
Build & Push Docker Images / test-frontend (push) Successful in 22s
Build & Push Docker Images / build-backend (push) Has been skipped
Build & Push Docker Images / build-frontend (push) Has been skipped
The lifted screen-state refactor in PublicView broke App.test.jsx (5
failures): when no `onScreenChange` prop was passed, the click handler
called a no-op, so the screen never advanced from 'home' to 'search'
and the search input was never rendered.

Fix: make screen state uncontrolled-by-default. PublicView owns its
own `useState('home')` and uses the lifted props only when App.jsx
provides them. Same back-compat shape as before, BottomNav still
drives the screen via controlled props in the real app.

Also: vitest defaults to watch mode, which hangs the CI test step
forever. Updated docker.yaml to pass `--run --reporter=basic` so the
job exits with a real pass/fail signal.

Local verification: `npm test -- --run` → 6/6 passing.

Co-Authored-By: Claude <noreply@anthropic.com>
2026-06-28 13:06:56 +02:00
Antoni Nuñez Romeu 53f81eeb01 Hotfix workflows
Build & Push Docker Images / test-backend (push) Successful in 47s
Build & Push Docker Images / test-frontend (push) Successful in 58s
Build & Push Docker Images / build-backend (push) Successful in 1m32s
Build & Push Docker Images / build-frontend (push) Successful in 58s
2026-05-25 18:00:28 +02:00
Antoni Nuñez Romeu 58ba68e0e1 cicd fix
Build & Push Docker Images / test-backend (push) Successful in 45s
Build & Push Docker Images / test-frontend (push) Successful in 1m0s
Build & Push Docker Images / build-backend (push) Successful in 1m56s
Build & Push Docker Images / build-frontend (push) Failing after 1m54s
2026-05-21 15:55:51 +02:00
Antoni Nuñez Romeu 7b288d33cb Remove tests, doing in one
Build & Push Docker Images / test-backend (push) Successful in 45s
Build & Push Docker Images / test-frontend (push) Successful in 41s
Build & Push Docker Images / build-backend (push) Failing after 27s
Build & Push Docker Images / build-frontend (push) Failing after 23s
2026-05-19 18:28:31 +02:00
Antoni Nuñez Romeu cc9a24d6d6 Plan Done, Dockerization and cleanup
Build & Push Docker Images / test-backend (push) Successful in 55s
Build & Push Docker Images / test-frontend (push) Successful in 43s
Run Tests / test-backend (push) Successful in 48s
Run Tests / test-frontend (push) Successful in 42s
Build & Push Docker Images / build-backend (push) Failing after 4m7s
Build & Push Docker Images / build-frontend (push) Failing after 32s
2026-05-19 18:16:28 +02:00
Ichitux b5d1cb12bf Add tests in workflow
Run Tests / test-backend (push) Failing after 48s
Run Tests / test-frontend (push) Failing after 24s
2026-04-01 01:24:17 +02:00