Add Forgejo CI workflow #45

Closed
opened 2026-08-17 01:27:19 +02:00 by myrmidex · 0 comments
Owner

Add .forgejo/workflows/ci.yml, modeled on ffr's:

  • trigger on push to release/* and PRs to main / release/*
  • run in a container image
  • checkout + cache Composer deps
  • composer install --no-interaction --prefer-dist
  • cp .env.testing .env
  • vendor/bin/pint --test (code style)
  • vendor/bin/phpstan analyse --memory-limit=1G (static analysis)
  • php -d memory_limit=512M vendor/bin/phpunit (tests)

Prereqs to add alongside: pint.json, phpstan.neon (plus a baseline if needed), and a .env.testing.

Add `.forgejo/workflows/ci.yml`, modeled on ffr's: - trigger on push to `release/*` and PRs to `main` / `release/*` - run in a container image - checkout + cache Composer deps - `composer install --no-interaction --prefer-dist` - `cp .env.testing .env` - `vendor/bin/pint --test` (code style) - `vendor/bin/phpstan analyse --memory-limit=1G` (static analysis) - `php -d memory_limit=512M vendor/bin/phpunit` (tests) Prereqs to add alongside: `pint.json`, `phpstan.neon` (plus a baseline if needed), and a `.env.testing`.
myrmidex added this to the v0.8.0 milestone 2026-08-17 01:27:19 +02:00
myrmidex self-assigned this 2026-08-17 02:01:55 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: lvl0/dishplanner#45
No description provided.