summaryrefslogtreecommitdiffstats
path: root/.github/workflows/static-code-check.yml
diff options
context:
space:
mode:
authorSean Molenaar <sean@seanmolenaar.eu>2021-02-04 23:19:05 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-02-05 12:43:20 +0100
commitd9bde18acca067c4e53746044d96aaebd341105c (patch)
treea4a05def219653b713432983811f59dfbb5bf2ea /.github/workflows/static-code-check.yml
parent6e9e2512eaa94c753119e22b6224de267d9fd968 (diff)
Actions: Upload coverage on main branch
Signed-off-by: Sean Molenaar <sean@seanmolenaar.eu> Signed-off-by: Sean Molenaar <sean@m2mobi.com>
Diffstat (limited to '.github/workflows/static-code-check.yml')
-rw-r--r--.github/workflows/static-code-check.yml42
1 files changed, 0 insertions, 42 deletions
diff --git a/.github/workflows/static-code-check.yml b/.github/workflows/static-code-check.yml
deleted file mode 100644
index 4473057bb..000000000
--- a/.github/workflows/static-code-check.yml
+++ /dev/null
@@ -1,42 +0,0 @@
-name: Static analysis
-on:
- pull_request
-jobs:
- static-psalm-analysis:
- runs-on: ubuntu-latest
- continue-on-error: true
- strategy:
- matrix:
- php-versions: [ '7.4' ]
- nextcloud: [ 'stable20', 'v21.0.0RC1' ]
- database: [ 'sqlite' ]
- name: "Psalm: Nextcloud ${{ matrix.nextcloud }}"
- steps:
- - name: Checkout
- uses: actions/checkout@master
- - name: Set up php
- uses: shivammathur/setup-php@master
- with:
- php-version: 7.4
- extensions: pdo_sqlite,pdo_mysql,pdo_pgsql,gd,zip
- coverage: none
-
- - name: Set up server non MySQL
- uses: SMillerDev/nextcloud-actions/setup-nextcloud@main
- with:
- cron: true
- version: ${{ matrix.nextcloud }}
- database-type: ${{ matrix.database }}
-
- - name: Install dependencies
- run: composer install
-
- - name: Configure server with app
- uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main
- with:
- app: 'news'
- check-code: false
-
- - name: Run coding standards check
- working-directory: ../server/apps/news
- run: ./vendor/bin/psalm \ No newline at end of file