summaryrefslogtreecommitdiff
path: root/.github/workflows/coverage.yml
diff options
context:
space:
mode:
authorAsko Nõmm <asko@nth.ee>2024-11-10 23:02:27 +0200
committerAsko Nõmm <asko@nth.ee>2024-11-10 23:02:27 +0200
commitf82340f781a1ef8c48e8696aee0e345b5731436b (patch)
treedcb441e52bbc3cc589c385089e4e1ed2de45d491 /.github/workflows/coverage.yml
parentfd10de29c5705064de62a8cb69226733dd1075a0 (diff)
Add phpunit.xml
Diffstat (limited to '.github/workflows/coverage.yml')
-rw-r--r--.github/workflows/coverage.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml
index daf2733..3be18db 100644
--- a/.github/workflows/coverage.yml
+++ b/.github/workflows/coverage.yml
@@ -18,8 +18,10 @@ jobs:
- name: Set-up Composer
uses: php-actions/composer@v6
- - name: Give all permissions to tests/ directory
- run: chmod -R 0777 tests/
+ - name: Set up logs dir
+ run: |
+ mkdir logs/
+ chmod -R 0777 logs/
- name: Run tests and collect coverage
run: ./vendor/bin/phpunit tests --coverage-clover coverage.xml tests