From a5ea71baebb10e2534a8da87253aeb1922c1718c Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Wed, 13 Sep 2023 14:17:30 +0200 Subject: [PATCH] ci(config): test against related NC version - tests NC27 - bump humbug/box Signed-off-by: Arthur Schiwon --- .github/workflows/test-master.yml | 46 ------------------------------- .github/workflows/test-stable.yml | 9 ++---- Makefile | 2 +- 3 files changed, 3 insertions(+), 54 deletions(-) delete mode 100644 .github/workflows/test-master.yml diff --git a/.github/workflows/test-master.yml b/.github/workflows/test-master.yml deleted file mode 100644 index b33b767f..00000000 --- a/.github/workflows/test-master.yml +++ /dev/null @@ -1,46 +0,0 @@ -name: Test master - -on: - pull_request: - push: - branches: - - main - - master - - stable* - -permissions: - contents: read - -jobs: - test-master: - runs-on: ubuntu-latest - strategy: - matrix: - php-versions: ["8.0", "8.1"] - - name: test-master - - steps: - - name: Checkout - uses: actions/checkout@v3 - - - name: Set up php ${{ matrix.php-versions }} - uses: shivammathur/setup-php@v2 - with: - php-version: ${{ matrix.php-versions }} - coverage: none - - - name: test-master - run: make test-master - - summary: - runs-on: ubuntu-latest - needs: test-master - - if: always() - - name: test-master-summary - - steps: - - name: Summary status - run: if ${{ needs.test-master.result != 'success' }}; then exit 1; fi diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index f77d183e..0c99f8e3 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -16,13 +16,8 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - php-versions: ["7.4", "8.0"] - nextcloud-versions: ["19", "20", "21"] - exclude: - - php-versions: "8.0" - nextcloud-versions: "19" - - php-versions: "8.0" - nextcloud-versions: "20" + php-versions: ["8.0", "8.1", "8.2"] + nextcloud-versions: ["27"] name: test-stable diff --git a/Makefile b/Makefile index 6ac8f940..e11918fa 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ .PHONY: updater.phar box: - curl -L https://github.com/box-project/box/releases/download/3.11.1/box.phar -o box + curl -L https://github.com/box-project/box/releases/download/3.16.0/box.phar -o box chmod +x box updater.phar: box updater.php lib/*.php buildVersionFile.php