Skip to content

ci: add a CI workflow with a gate #32

Closed

Description

@uniqueg

Why?

The repo has no CI that checks pull requests: Travis CI is long gone, and the only workflow, main.yaml, publishes images on pushes to dev without running anything. The central unit tests have 5 failures that nobody sees (shared mock data changed between tests, a missing app context). All further work on the upgrade path of M4.3 needs a working gate first.

How?

Add ci.yml / CI, following the org's other repos and naming rules:

  • title / PR title: the shared check for Conventional Commits, at most 50 characters
  • test / Test: unit tests with coverage, in the image that gets deployed, as FOCA 0.7 pins its dependencies there
  • chart / Chart: lint and render the Helm chart
  • smoke / Smoke test: start the image with MongoDB and call the API
  • scan / Scan image: Trivy, report only for now
  • push / Push image: both images on pushes to dev, replacing main.yaml
  • passed / CI passed: the gate; the only check to become required

Also: fix the failing tests, remove .travis.yml, exclude .env* from the image build context, point README badges and the Makefile to the new setup, and keep actions up to date with Dependabot.

Acceptance criteria

  • All unit tests pass in CI on pull requests.
  • CI passed reports on every pull request and fails if any needed job fails.
  • Images are published under the org on pushes to dev, only by ci.yml.

Lint, type checks, further test levels and docs follow in separate issues.

Activity

  1. added
    priority: high
    status: in progress
    type: ci / cd
    workload: hours
    ecp-wp4: M4.3
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    ecp-wp4: M4.3priority: highstatus: in progresstype: ci / cdworkload: hours

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions