6969 image : ghcr.io/${{ github.repository }}:main-${{ matrix.nextcloud_version }}
7070 env :
7171 COMPOSER_AUTH : ' {"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
72- NEXTCLOUD_PATH : /usr/src/nextcloud/
73- NEXTCLOUD_UPDATE : 1
7472 XDEBUG_MODE : coverage
7573 volumes :
7674 - /usr/bin/composer:/usr/bin/composer
@@ -93,13 +91,16 @@ jobs:
9391 steps :
9492 - uses : actions/checkout@v5
9593 # @CHECKME: cp site.conf /etc/apache2/sites-enabled/000-default.conf (?)
96- - name : Setup Test Environment
94+ - env :
95+ NEXTCLOUD_UPDATE : 1
96+ name : Setup Test Environment
9797 run : |
98- git config --global --add safe.directory "${NEXTCLOUD_PATH}/ apps"
98+ git config --global --add safe.directory /usr/src/nextcloud/ apps
9999 /entrypoint.sh "echo"
100100 bash "${GITHUB_WORKSPACE}/init.sh"
101- rm -r "${NEXTCLOUD_PATH}/apps/solid/"
102- cp --archive --verbose "${GITHUB_WORKSPACE}/." "${NEXTCLOUD_PATH}/apps/"
101+ rm -r /usr/src/nextcloud/apps/solid/
102+ cp --archive --verbose "${GITHUB_WORKSPACE}/." /usr/src/nextcloud/apps/
103+ working-directory : /usr/src/nextcloud/
103104 - name : Install and Cache Composer dependencies
104105 uses : ramsey/composer-install@v3
105106 with :
@@ -108,7 +109,7 @@ jobs:
108109 COMPOSER_AUTH : ' {"github-oauth": {"github.com": "${{ secrets.GITHUB_TOKEN }}"}}'
109110 - name : Run PHPUnit
110111 run : bin/phpunit --configuration phpunit.xml
111- working-directory : /usr/src/nextcloud/apps/solid
112+ working-directory : /usr/src/nextcloud/apps/solid/
112113
113114 # 03.quality.php.scan.dependencies-vulnerabilities.yml
114115 scan-dependencies-vulnerabilities :
0 commit comments