Skip to content

Commit

Permalink
fix phpunit
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Jan 18, 2024
1 parent 3c3f80d commit b7bacd6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,11 +134,11 @@ jobs:
databases: ['pgsql']
server-versions: ['stable24']

name: php${{ matrix.php-versions }}-${{ matrix.databases }}-${{ matrix.server-versions }}
name: php${{ matrix.php-versions }}-${{ matrix.databases }}

services:
postgres:
image: postgres
image: postgres:14
ports:
- 4444:5432/tcp
env:
Expand Down Expand Up @@ -183,8 +183,10 @@ jobs:
run: |
mkdir data
./occ maintenance:install --verbose --database=${{ matrix.databases }} --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f index.php
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
# php -S localhost:8080 &

- name: PHPUnit
working-directory: apps/${{ env.APP_NAME }}
run: ./vendor/phpunit/phpunit/phpunit -c tests/phpunit.xml

0 comments on commit b7bacd6

Please sign in to comment.