Antoni Nuñez Romeu
97008caf31
Añadidos settings de cookies y privacidad
Run Tests on Branches / Detect Changes (push) Successful in 17s
Run Tests on Branches / Backend Tests (push) Successful in 2m30s
Run Tests on Branches / Frontend Tests (push) Successful in 1m54s
Run Tests on Branches / Frontend Mobile Tests (push) Successful in 1m49s
Run Tests on Branches / Parapharmacy API Tests (push) Successful in 1m48s
Run Tests on Branches / PIP Platform Tests (push) Has been skipped
2026-08-26 17:14:05 +02:00
Antoni Nuñez Romeu
573d2e5d35
ci: inject .env files from Gitea variables during deploy
...
Run Tests on Branches / Detect Changes (push) Successful in 15s
Run Tests on Branches / Backend Tests (push) Successful in 2m31s
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Successful in 2m24s
Run Tests on Branches / PIP Platform Tests (push) Has been skipped
Replace the basic .env.example sync with a deploy script that fetches
repo variables from the Gitea API and writes them to the correct .env
files, preserving comments from .env.example templates.
2026-07-24 09:56:27 +02:00
Antoni Nuñez Romeu
1c45be852a
fix(ci): remove MongoDB service from parapharmacy-api tests (port 27017 conflict)
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / PIP Platform Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Successful in 1m36s
2026-07-17 09:43:47 +02:00
Antoni Nuñez Romeu
db62ba078f
chore(ci): disable pip-platform tests temporarily (broken until fixed)
Run Tests on Branches / Detect Changes (push) Successful in 14s
Run Tests on Branches / Backend Tests (push) Successful in 1m49s
Run Tests on Branches / Frontend Tests (push) Successful in 1m39s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped
Run Tests on Branches / PIP Platform Tests (push) Has been skipped
2026-07-16 18:31:42 +02:00
Antoni Nuñez Romeu
42fffc65d0
fix(ci): fix parapharmacy-api and pip-platform test jobs, deploy with self-hosted runner
...
Run Tests on Branches / Detect Changes (push) Successful in 15s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Backend Tests (push) Successful in 1m40s
Run Tests on Branches / Frontend Tests (push) Successful in 1m44s
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped
Run Tests on Branches / PIP Platform Tests (push) Failing after 1m38s
- Fix parapharmacy-api workspace name (farmafinder-parapharmacy-api)
- Remove unnecessary sqlite3/bcrypt rebuild from parapharmacy-api tests
- Add MongoDB service container for parapharmacy-api tests
- Rewrite pip-platform tests: Node.js → Python (uv + pytest)
- Add PostgreSQL and Redis services for pip-platform tests
- Add pip-platform to detect-changes filter
- Fix build-pip-platform trigger (was incorrectly referencing backend)
- Switch deploy job to self-hosted runner with set -euo pipefail
- Add .env sync from .env.example before deploy
2026-07-16 18:22:18 +02:00
Antoni Nuñez Romeu
cf087fc0b7
Fixed CI/CD and .env vars
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Successful in 1m45s
Run Tests on Branches / Frontend Tests (push) Successful in 1m46s
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
Run Tests on Branches / Parapharmacy API Tests (push) Has been skipped
Run Tests on Branches / PIP Platform Tests (push) Failing after 1m37s
2026-07-16 18:10:17 +02:00
Antoni Nuñez Romeu
e3db56715b
ci: optimize test performance — from ~3h to 3.5s
...
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Frontend Tests (push) Has been cancelled
Run Tests on Branches / Frontend Mobile Tests (push) Has been cancelled
Run Tests on Branches / Backend Tests (push) Has been cancelled
- Lazy-load tesseract.js only in OCR route (skips 30MB WASM download)
- Conditional tracing.js import (skip OTel gRPC in test mode)
- Remove unused barcode-detector import
- Add testTimeout/openHandlesTimeout to jest.config.js
- Add --forceExitTimeout=30000 to test script
- Split CI test jobs into parallel workflows (backend/frontend/mobile)
- Add timeout-minutes: 15 to all test jobs
- Use npm ci --ignore-scripts + selective native rebuild
2026-07-14 12:42:02 +02:00
Antoni Nuñez Romeu
5ae3ebecee
ci: consolidate test jobs into single workflow with npm caching
...
Run Tests on Branches / Run Tests (push) Successful in 1m44s
- Merge 3 parallel test jobs (backend/frontend/mobile) into one sequential job
- Remove dependency on dorny/paths-filter@v3 (replaced with git diff script)
- Add npm cache via setup-node to speed up dependency installation
- Downgrade Node.js from 24 to 22 LTS for stability
- Reduce checkout fetch-depth from full history to 2 commits
2026-07-13 21:16:46 +02:00
Antoni Nuñez Romeu
562ede1961
chore: optimize CI/CD workflows with path-based detection
...
Run Tests on Branches / Detect Changes (push) Successful in 13s
Run Tests on Branches / Backend Tests (push) Has been skipped
Run Tests on Branches / Frontend Tests (push) Has been skipped
Run Tests on Branches / Frontend Mobile Tests (push) Has been skipped
- Add dorny/paths-filter to detect changes per component
- Run only relevant tests (backend/frontend/frontend-mobile)
- Build only changed Docker images
- Fix Docker container removal error with --remove-orphans
- Add conditional deploy based on actual changes
2026-07-07 18:15:38 +02:00
Antoni Nuñez Romeu
afaa4de385
Google services, design fixes
Run Tests on Branches / Backend Tests (push) Successful in 2m2s
Run Tests on Branches / Frontend Tests (push) Successful in 1m55s
2026-07-07 12:50:32 +02:00
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
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-backend (push) Successful in 18s
Build & Push Docker Images / build-frontend (push) Successful in 27s
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
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