|
1 | | -name: Test |
| 1 | +name: "🧪 Test" |
2 | 2 |
|
3 | 3 | on: |
4 | 4 | pull_request: |
@@ -26,31 +26,31 @@ jobs: |
26 | 26 | nextcloud-version: "stable31" |
27 | 27 | - php-version: "8.1" |
28 | 28 | nextcloud-version: "stable32" |
29 | | - name: Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }} unit tests |
| 29 | + name: "🧪 Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }} unit tests" |
30 | 30 | steps: |
31 | | - - name: Set up php${{ matrix.php-version }} |
| 31 | + - name: "🧰 Set up php${{ matrix.php-version }}" |
32 | 32 | uses: shivammathur/setup-php@v2 |
33 | 33 | with: |
34 | 34 | php-version: ${{ matrix.php-version }} |
35 | 35 | extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip,gmp |
36 | 36 | coverage: xdebug |
37 | | - - name: Checkout Nextcloud |
| 37 | + - name: "📥 Checkout Nextcloud" |
38 | 38 | run: git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b ${{ matrix.nextcloud-version }} nextcloud |
39 | 39 | # - name: Patch version check for nightly PHP |
40 | 40 | # if: ${{ matrix.php-version == '8.2' }} |
41 | 41 | # run: echo "<?php" > nextcloud/lib/versioncheck.php |
42 | | - - name: Install Nextcloud |
| 42 | + - name: "⚙️ Install Nextcloud" |
43 | 43 | run: php -f nextcloud/occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass='' |
44 | | - - name: Checkout qownnotesapi |
| 44 | + - name: "📦 Checkout qownnotesapi" |
45 | 45 | uses: actions/checkout@v3 |
46 | 46 | with: |
47 | 47 | path: nextcloud/apps/qownnotesapi |
48 | | - - name: Test app |
| 48 | + - name: "✅ Test app" |
49 | 49 | run: php -f nextcloud/occ app:enable qownnotesapi && php -f nextcloud/occ background:cron |
50 | | - - name: Install dependencies |
| 50 | + - name: "📦 Install dependencies" |
51 | 51 | working-directory: nextcloud/apps/qownnotesapi |
52 | 52 | run: composer install |
53 | | - - name: Run tests |
| 53 | + - name: "🧪 Run tests" |
54 | 54 | working-directory: nextcloud/apps/qownnotesapi |
55 | 55 | run: composer test-coverage |
56 | 56 | if: ${{ matrix.php-version == '8.3' }} |
|
0 commit comments