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