Skip to content

Commit 1758eed

Browse files
committed
Change PHP GitHub Action (GHA) to run PHPUnit in the Solid Nextcloud Docker image.
1 parent eac2919 commit 1758eed

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/php.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,15 @@ jobs:
9191
working-directory: "solid"
9292
env:
9393
COMPOSER_AUTH: '{"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
94-
- run: bin/phpunit --configuration .config/phpunit.xml.dist
94+
- run: |
95+
docker run \
96+
--env 'XDEBUG_MODE=coverage' \
97+
--rm \
98+
--volume="./solid:/var/www/html/apps/solid" \
99+
--workdir=/var/www/html/apps/solid \
100+
ghcr.io/pdsinterop/solid-nextcloud:179_merge-30 \
101+
bin/phpunit --configuration phpunit.xml
102+
95103
# 03.quality.php.scan.dependencies-vulnerabilities.yml
96104
scan-dependencies-vulnerabilities:
97105
name: Scan Dependencies Vulnerabilities

0 commit comments

Comments
 (0)