chore(deps): bump vue-loader from 15.11.1 to v17 (master) #1870
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors | |
| # SPDX-License-Identifier: MIT | |
| name: Test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| - stable* | |
| permissions: | |
| contents: read | |
| jobs: | |
| unit-tests: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| php-version: [ "8.2" ] | |
| nextcloud-version: [ 'master' ] | |
| db: ['sqlite'] | |
| name: Nextcloud ${{ matrix.nextcloud-version }} php${{ matrix.php-version }} unit tests | |
| steps: | |
| - name: Set up php${{ matrix.php-version }} | |
| uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # 2.36.0 | |
| with: | |
| php-version: ${{ matrix.php-version }} | |
| extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip | |
| coverage: xdebug | |
| - name: Checkout Nextcloud | |
| run: git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b ${{ matrix.nextcloud-version }} nextcloud | |
| - name: Install Nextcloud | |
| run: php -f nextcloud/occ maintenance:install --database-host 127.0.0.1 --database-name nextcloud --database-user nextcloud --database-pass nextcloud --admin-user admin --admin-pass admin --database ${{ matrix.db }} | |
| - name: Checkout app | |
| uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1 | |
| with: | |
| persist-credentials: false | |
| path: nextcloud/apps/twofactor_totp | |
| - name: Install dependencies | |
| working-directory: nextcloud/apps/twofactor_totp | |
| run: composer install | |
| - name: Run tests | |
| working-directory: nextcloud/apps/twofactor_totp | |
| run: composer run test:unit | |
| - name: Report coverage | |
| uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 # v5.5.1 | |
| if: ${{ always() }} | |
| with: | |
| token: ${{ secrets.CODECOV_TOKEN }} | |
| file: ./nextcloud/apps/twofactor_totp/tests/clover.xml | |
| flags: unittests | |
| fail_ci_if_error: true |