Skip to content

Commit 1896198

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

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.github/workflows/php.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,17 @@ 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+
--interactive \
98+
--rm \
99+
--tty \
100+
--volume="./solid:/var/www/html/apps/solid" \
101+
--workdir=/var/www/html/apps/solid \
102+
ghcr.io/pdsinterop/solid-nextcloud:179_merge-30 \
103+
bin/phpunit --configuration phpunit.xml
104+
95105
# 03.quality.php.scan.dependencies-vulnerabilities.yml
96106
scan-dependencies-vulnerabilities:
97107
name: Scan Dependencies Vulnerabilities

0 commit comments

Comments
 (0)