diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-09-28 13:20:49 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-02 11:33:14 +0200 |
commit | 0e64ec6550148757ade13dd45f444776651db639 (patch) | |
tree | d9c7c058458915be4feba676c510c47d7618ca30 /.github/workflows/ftp.yml | |
parent | 0cb489d6caba3966f00f6e1d01790df9c6872fc2 (diff) | |
download | nextcloud-server-0e64ec6550148757ade13dd45f444776651db639.tar.gz nextcloud-server-0e64ec6550148757ade13dd45f444776651db639.zip |
chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to
stableX it can pull the corresponding version too. Also local dev envs
and CI run the same phpunit.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to '.github/workflows/ftp.yml')
-rw-r--r-- | .github/workflows/ftp.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/ftp.yml b/.github/workflows/ftp.yml index dd6c3adecd5..5e79101ec7d 100644 --- a/.github/workflows/ftp.yml +++ b/.github/workflows/ftp.yml @@ -49,13 +49,13 @@ jobs: uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2 with: php-version: ${{ matrix.php-versions }} - tools: phpunit:9 extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Set up Nextcloud run: | + composer install mkdir data ./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password ./occ app:enable --force ${{ env.APP_NAME }} @@ -70,7 +70,7 @@ jobs: - name: PHPUnit run: | echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php - phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/FtpTest.php + composer run test:files_external apps/files_external/tests/Storage/FtpTest.php - name: ftpd logs if: always() run: | |