diff options
Diffstat (limited to '.github/workflows/post-merge-tasks.yml')
-rw-r--r-- | .github/workflows/post-merge-tasks.yml | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/.github/workflows/post-merge-tasks.yml b/.github/workflows/post-merge-tasks.yml index dd6b1454d..58859acec 100644 --- a/.github/workflows/post-merge-tasks.yml +++ b/.github/workflows/post-merge-tasks.yml @@ -4,28 +4,23 @@ on: branches: - master jobs: - update-release-draft: - runs-on: ubuntu-latest - name: "Release Drafter" - steps: - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} php: runs-on: ubuntu-latest continue-on-error: false - name: "Coverage: Nextcloud PHP ${{ matrix.php-versions }}" + name: "Coverage: Nextcloud ${{ matrix.nextcloud }} PHP ${{ matrix.php-version }}" strategy: matrix: - nextcloud: ['stable22'] + nextcloud: ['stable27'] + codecoverage: [true] + php-version: ["8.1"] steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: - php-version: '7.4' + php-version: ${{ matrix.php-version }} ### Back to normal setup - name: Set up server non MySQL @@ -42,11 +37,15 @@ jobs: uses: SMillerDev/nextcloud-actions/setup-nextcloud-app@main with: app: 'news' - check-code: true + check-code: false - name: Prep PHP tests run: cd ../server/apps/news && make php-test-dependencies + - name: Unittests run: cd ../server/apps/news && make unit-test + env: + CODECOVERAGE: ${{ matrix.codecoverage }} + - name: Upload codecoverage run: cd ../server/apps/news && bash <(curl -s https://codecov.io/bash) -f build/php-unit.clover |