Added feature to drop article if title matches a regex provided by the user #3353
Workflow file for this run
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
| name: PHP Tests | |
| on: | |
| pull_request | |
| jobs: | |
| php: | |
| runs-on: ubuntu-latest | |
| continue-on-error: ${{ matrix.experimental }} | |
| name: "PHP: Nextcloud ${{ matrix.nextcloud }} - PHP ${{ matrix.php-versions }} - DB ${{ matrix.database }}" | |
| strategy: | |
| matrix: | |
| php-versions: ['8.3'] | |
| nextcloud: ['stable32'] | |
| database: ['sqlite'] | |
| experimental: [false] | |
| include: | |
| - php-versions: 8.3 | |
| nextcloud: stable32 | |
| database: sqlite | |
| experimental: false | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@0c366fd6a839edf440554fa01a7085ccba70ac98 # v6.0.2 | |
| with: | |
| fetch-depth: 2 # https://github.com/codecov/codecov-action/issues/190#issuecomment-790729633 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@44454db4f0199b8b9685a5d763dc37cbf79108e1 # v2.36.0 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip | |
| coverage: pcov | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| ### Back to normal setup | |
| - name: Set up server non MySQL | |
| uses: SMillerDev/nextcloud-actions/setup-nextcloud@7665802e389e40d21b49877c3728bacca324d6e0 #latest | |
| with: | |
| cron: true | |
| version: ${{ matrix.nextcloud }} | |
| database-type: ${{ matrix.database }} | |
| - name: Prime app build | |
| run: make | |
| - name: Configure server with app | |
| uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@7665802e389e40d21b49877c3728bacca324d6e0 #latest | |
| with: | |
| app: 'news' | |
| check-code: false | |
| - name: Prep PHP tests | |
| working-directory: ../server/apps/news | |
| run: make php-test-dependencies | |
| - name: Unittests | |
| working-directory: ../server/apps/news | |
| run: make unit-test |