chore(ci): move CI to Forgejo Actions, drop GitHub/Codecov references
Some checks failed
CI / Tests (push) Failing after 1m3s
CI / Lint (push) Failing after 8s
CI / Type Check (push) Failing after 8s
CI / Docker Build (push) Has been cancelled

This commit is contained in:
jcv-dev 2026-09-29 18:01:31 -05:00
parent a2930426b4
commit 775d7a8a13
2 changed files with 6 additions and 15 deletions

View file

@ -6,6 +6,7 @@ on:
tags: ["v*"]
pull_request:
branches: [master, main]
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@ -58,17 +59,10 @@ jobs:
pip install -e ".[dev]"
- name: Run tests
run: pytest --cov=infrasynth --cov-report=xml --cov-report=term-missing -v
run: pytest --cov=infrasynth --cov-report=term-missing -v
env:
DJANGO_SETTINGS_MODULE: config.settings.test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5
with:
files: ./coverage.xml
flags: unittests
if: success() || failure()
lint:
name: Lint
runs-on: ubuntu-latest
@ -123,5 +117,3 @@ jobs:
push: false
load: true
tags: infrasynth-base:ci
cache-from: type=gha
cache-to: type=gha,mode=max

View file

@ -1,7 +1,6 @@
# InfraSynth Base — Plan de Arquitectura
[![CI](https://github.com/anomalyco/infrasynth-base/actions/workflows/ci.yml/badge.svg)](https://github.com/anomalyco/infrasynth-base/actions/workflows/ci.yml)
[![Coverage](https://codecov.io/gh/anomalyco/infrasynth-base/branch/master/graph/badge.svg)](https://codecov.io/gh/anomalyco/infrasynth-base)
[![CI](https://img.shields.io/badge/CI-Forgejo%20Actions-blue.svg)](https://git-ssh.infrasynth.net:2222/moravak/infrasynth-backend-kit)
[![Python](https://img.shields.io/badge/python-3.12+-blue.svg)](https://www.python.org/downloads/)
[![Django](https://img.shields.io/badge/django-5.2+-green.svg)](https://www.djangoproject.com/)
[![Ruff](https://img.shields.io/badge/code%20style-ruff-000000.svg)](https://github.com/astral-sh/ruff)
@ -134,9 +133,9 @@ InfraSynth Base es un conjunto de Django apps reutilizables que proveen la infra
- [x] ruff check . sin errores
- [x] mypy infrasynth/ sin errores
- [x] pre-commit hooks configurados
- [x] GitHub Actions: tests + lint + typecheck + docker build
- [x] Forgejo Actions: tests + lint + typecheck + docker build
- [x] Dockerfile multi-stage + docker-compose con health checks
- [x] Badges (CI, coverage, python, django, ruff, mypy) en PLAN.md
- [x] Badges (CI, python, django, ruff, mypy) en PLAN.md
- [ ] Docker push (pendiente de registry config)
### Fase 16 — Multi-tenancy ✅ _(2026-09-24)_
@ -3441,7 +3440,7 @@ volumes:
- **Cache:** Redis (caching + sessions + Celery broker)
- **Monitoring:** Sentry (errors) + Prometheus + Grafana (metrics)
- **Logging:** structlog → JSON stdout → Loki + Grafana
- **CI/CD:** GitHub Actions (tests + lint + docker build)
- **CI/CD:** Forgejo Actions (tests + lint + typecheck + docker build)
---