From 7a9464e2c6c0edbaccbe99e1035c64f04dcf17ab Mon Sep 17 00:00:00 2001 From: Ismael Azaran Date: Sat, 15 Aug 2026 11:00:17 +0000 Subject: [PATCH] Configure Ona devcontainer and automations Co-authored-by: Codex --- .devcontainer/devcontainer.json | 4 ++++ .ona/config.yaml | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .devcontainer/devcontainer.json create mode 100644 .ona/config.yaml diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000..40a6596 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,4 @@ +{ + "name": "SmartCache", + "image": "mcr.microsoft.com/devcontainers/php:8.4" +} diff --git a/.ona/config.yaml b/.ona/config.yaml new file mode 100644 index 0000000..6e61c4f --- /dev/null +++ b/.ona/config.yaml @@ -0,0 +1,18 @@ +tasks: + installDeps: + name: Install dependencies + description: Install the locked Composer dependencies for the project. + command: composer install --no-interaction --prefer-dist + triggeredBy: + - manual + - postDevcontainerStart + - prebuild + + test: + name: Run tests + description: Run the PHPUnit test suite through the Composer script. + command: composer test + triggeredBy: + - manual + dependsOn: + - installDeps