diff options
author | dartcafe <github@dartcafe.de> | 2020-09-03 09:40:43 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-09-03 09:40:43 +0300 |
commit | e7700eb82631873b2fbe56cb6982d5e34e80d7ad (patch) | |
tree | e1a9676bd2cc2b44bbbb974381433dc45e2aeac0 | |
parent | 3018352517c723ab753528872d7408a1f8940c63 (diff) |
progress
-rw-r--r-- | .github/workflows/lint.yml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c4ae2b91..3c63d4dd 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,9 +13,9 @@ jobs: strategy: matrix: - php-version: [7.4] + php-versions: [7.4] - name: php-cs check php ${{ matrix.php-version }} + name: php-cs check php ${{ matrix.php-versions }} steps: - name: Checkout @@ -23,7 +23,7 @@ jobs: - name: Set up php uses: shivammathur/setup-php@master with: - php-version: ${{ matrix.php-version }} + php-version: ${{ matrix.php-versions }} coverage: none - name: Install dependencies run: composer i @@ -32,18 +32,22 @@ jobs: app-code-check: runs-on: ubuntu-latest + strategy: matrix: + php-versions: ['7.2', '7.3', '7.4'] nextcloud-versions: ['master'] + name: Nextcloud ${{ matrix.nextcloud-versions }} app code check + steps: - - name: Set up php7.4 + - name: Set up php ${{ matrix.php-versions }} uses: shivammathur/setup-php@master with: - php-version: 7.4 + php-version: ${{ matrix.php-versions }} extensions: ctype,curl,dom,gd,iconv,intl,json,mbstring,openssl,posix,sqlite,xml,zip coverage: xdebug - - name: Checkout Nextcloud + - name: Checkout Nextcloud ${{ matrix.nextcloud-versions }} run: git clone https://github.com/nextcloud/server.git --recursive --depth 1 -b ${{ matrix.nextcloud-versions }} nextcloud - name: Run tests run: php -f nextcloud/occ maintenance:install --database-name oc_autotest --database-user oc_autotest --admin-user admin --admin-pass admin --database sqlite --database-pass='' @@ -80,7 +84,7 @@ jobs: matrix: node-versions: [12.x] - name: stylelint node${{ matrix.node-versions }} + name: stylelint node ${{ matrix.node-versions }} steps: - uses: actions/checkout@v2 |