summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_filetype.vim
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-02-17 12:29:17 +0100
committerBram Moolenaar <Bram@vim.org>2021-02-17 12:29:17 +0100
commitc0fcb6e0b10050145e7d334b68b1bdc5201fed05 (patch)
tree0fdd39525e4c8045928c7a03f4c46363c32e0c0b /src/testdir/test_filetype.vim
parent9bbd883b3528b37dcacad22ad58861105a9ae428 (diff)
patch 8.2.2523: Svelte filetype not recognizedv8.2.2523
Problem: Svelte filetype not recognized. Solution: Add a detection rule. (Brian Ryall, closes #7858)
Diffstat (limited to 'src/testdir/test_filetype.vim')
-rw-r--r--src/testdir/test_filetype.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/testdir/test_filetype.vim b/src/testdir/test_filetype.vim
index 06b8e997c7..ba8879c82d 100644
--- a/src/testdir/test_filetype.vim
+++ b/src/testdir/test_filetype.vim
@@ -427,6 +427,7 @@ let s:filename_checks = {
\ 'sdc': ['file.sdc'],
\ 'sdl': ['file.sdl', 'file.pr'],
\ 'sed': ['file.sed'],
+ \ 'svelte': ['file.svelte'],
\ 'sensors': ['/etc/sensors.conf', '/etc/sensors3.conf', 'any/etc/sensors.conf', 'any/etc/sensors3.conf'],
\ 'services': ['/etc/services', 'any/etc/services'],
\ 'setserial': ['/etc/serial.conf', 'any/etc/serial.conf'],
feature/openapi'>feature/openapi Mirror of https://github.com/nextcloud/newsmatthias
summaryrefslogtreecommitdiffstats
path: root/.github/workflows/frontend-nodejs-tests.yml
blob: e077e7d1b956ea46eb06ebd58378a861350c5859 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
name: Frontend tests
on:
  pull_request

jobs:
  php:
    runs-on: ubuntu-20.04
    continue-on-error: ${{ matrix.experimental }}
    name: "Frontend: Nextcloud ${{ matrix.nextcloud }} - PHP ${{ matrix.php-versions }} - DB ${{ matrix.database }}"
    strategy:
      matrix:
        php-versions: ['8.1']
        nextcloud: ['stable27']
        database: ['sqlite']
        experimental: [false]
    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php-versions }}
          extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
          coverage: none

      ### Back to normal setup
      - name: Set up server non MySQL
        uses: SMillerDev/nextcloud-actions/setup-nextcloud@main
        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@main
        with:
          app: 'news'
          check-code: false

      - name: Install frontend requirements
        run: sudo apt update && sudo apt install firefox
      - name: Run frontend tests
        run: cd ../server/apps/news && make js-test