summaryrefslogtreecommitdiff
path: root/.forgejo/workflows
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nmm.ee>2026-02-01 11:33:51 +0200
committerAsko Nõmm <asko@nmm.ee>2026-02-01 11:33:51 +0200
commite2c0cd76f02ced0e815151c15b40c0f25369a04d (patch)
tree0ea5cd96c99aefb69f6f3fe4c06bdcca6a22fb94 /.forgejo/workflows
parent012391c4a94032f5f83f76094737aefcb6b71d6d (diff)
Add dependency installation step to CI workflows for coverage and lintingHEADmain
Diffstat (limited to '.forgejo/workflows')
-rw-r--r--.forgejo/workflows/coverage.yml3
-rw-r--r--.forgejo/workflows/lint.yml3
2 files changed, 6 insertions, 0 deletions
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