fix: focus article view when item selected via keyboard navigation #2451
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: Updater Tests | |
| on: | |
| pull_request | |
| permissions: {} | |
| env: | |
| POSTGRES_PASSWORD: nc_test_db | |
| MYSQL_USER: nc_test | |
| MYSQL_PASSWORD: nc_test_db | |
| MYSQL_DATABASE: nc_test | |
| MYSQL_PORT: 3800 | |
| jobs: | |
| integration: | |
| runs-on: ubuntu-latest | |
| continue-on-error: ${{ matrix.experimental }} | |
| name: "Update Test: Nextcloud ${{ matrix.nextcloud }} - PHP ${{ matrix.php-versions }}" | |
| permissions: | |
| contents: read | |
| strategy: | |
| matrix: | |
| php-versions: ['8.3'] | |
| nextcloud: ['stable34'] | |
| database: ['sqlite'] | |
| experimental: [false] | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| with: | |
| submodules: recursive | |
| persist-credentials: false | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@7c071dfe9dc99bdf297fa79cb49ea005b9fcadbc # 2.37.1 | |
| with: | |
| php-version: ${{ matrix.php-versions }} | |
| extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip | |
| coverage: none | |
| - name: Setup BATS & httpie | |
| run: sudo apt-get update && sudo apt-get install -y httpie && sudo npm install -g bats@1.11.0 | |
| - name: Set up server | |
| uses: SMillerDev/nextcloud-actions/setup-nextcloud@b13a04eb6a4e48972d31fa07559619843fcc2102 # main | |
| with: | |
| version: ${{ matrix.nextcloud }} | |
| cron: true | |
| database-type: ${{ matrix.database }} | |
| database-host: localhost | |
| database-port: 5432 | |
| database-name: postgres | |
| database-user: postgres | |
| database-password: ${{ env.POSTGRES_PASSWORD }} | |
| - name: Prime app build | |
| run: make | |
| - name: Configure server with app | |
| uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@b13a04eb6a4e48972d31fa07559619843fcc2102 # main | |
| with: | |
| app: 'news' | |
| check-code: false | |
| force: ${{ matrix.experimental }} | |
| - name: Allow local remote servers | |
| working-directory: ../server | |
| run: php ./occ config:system:set allow_local_remote_servers --type=boolean --value=true | |
| - name: Install composer install php-feed-generator | |
| working-directory: ../server | |
| run: composer install -d apps/news/tests/test_helper/php-feed-generator | |
| - name: Run Updater tests | |
| working-directory: ../server | |
| run: | | |
| php -S localhost:8080 &> /tmp/webserver.log & | |
| cd apps/news/tests/test_helper/feeds && php -S localhost:8090 &> /tmp/feedserver.log & | |
| sleep 2 | |
| cd ${{ github.workspace }}/../server | |
| bats apps/news/tests/updater | |
| # Kill php server | |
| kill %1 | |
| kill %2 | |