From e2c0cd76f02ced0e815151c15b40c0f25369a04d Mon Sep 17 00:00:00 2001 From: Asko Nõmm Date: Sun, 1 Feb 2026 11:33:51 +0200 Subject: Add dependency installation step to CI workflows for coverage and linting --- .forgejo/workflows/coverage.yml | 3 +++ .forgejo/workflows/lint.yml | 3 +++ 2 files changed, 6 insertions(+) (limited to '.forgejo/workflows') diff --git a/.forgejo/workflows/coverage.yml b/.forgejo/workflows/coverage.yml index d19d941..46b5bce 100644 --- a/.forgejo/workflows/coverage.yml +++ b/.forgejo/workflows/coverage.yml @@ -31,5 +31,8 @@ jobs: php -v composer --version + - name: Install dependencies + run: composer install + - name: Run tests and collect coverage run: ./vendor/bin/phpunit tests --coverage-clover coverage.xml tests diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index c57895a..ae19927 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -32,5 +32,8 @@ jobs: php -r "unlink('composer-setup.php');" composer --version + - name: Install dependencies + run: composer install + - name: Run phpstan run: ./vendor/bin/phpstan -- cgit v1.2.3