Welcome to mirror list, hosted at ThFree Co, Russian Federation.

app-code-check.yml « workflows « .github - github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 84a16713d64e1b62e1ac41ffce4c821272426191 (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
name: PHP AppCode Check

on:
  pull_request:
  push:

jobs:
  unit-tests:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        php-versions: ['7.4']
        nextcloud-versions: ['master']
    name: AppCode check
    steps:
      - name: Set up php${{ matrix.php-versions }}
        uses: shivammathur/setup-php@master
        with:
          php-version: ${{ matrix.php-versions }}
          extension-csv: 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-versions }} nextcloud
      - name: Checkout
        uses: actions/checkout@master
        with:
          path: nextcloud/apps/polls
      - name: App Code check
        working-directory: nextcloud
        run: php occ app:check-code polls