From 7143de90a6d6d287aea810a2e8c2f30dae8bd18d Mon Sep 17 00:00:00 2001 From: ThrawnCA Date: Tue, 12 Nov 2024 09:05:03 +1000 Subject: [PATCH] [QOLDEV-1003] add testing of CKAN upstream master - Run tests on latest CKAN master branch for visibility, but don't require success --- .github/workflows/ci.yml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f316fea..3afed7e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,8 +35,10 @@ jobs: runs-on: ubuntu-latest needs: code_quality strategy: + max-parallel: 4 #only 4 jobs at once matrix: ckan-version: ['2.11', '2.10', '2.9'] + experimental: [false] ckan-git-org: ['ckan'] include: - ckan-version: '2.9' @@ -45,6 +47,9 @@ jobs: - ckan-version: '2.9' ckan-git-version: 'qgov-master-2.9.9' ckan-git-org: 'qld-gov-au' + - ckan-git-org: 'ckan' + ckan-git-version: 'master' + experimental: true #master is unstable, good to know if we are compatible or not fail-fast: false @@ -101,17 +106,18 @@ jobs: timeout-minutes: 2 - name: Install requirements + continue-on-error: ${{ matrix.experimental }} run: | chmod u+x ./scripts/* ./scripts/build.sh timeout-minutes: 15 - name: Setup CKAN - run: | - ./scripts/init.sh + continue-on-error: ${{ matrix.experimental }} + run: ./scripts/init.sh timeout-minutes: 15 - name: Run tests - run: | - ./scripts/test.sh + continue-on-error: ${{ matrix.experimental }} + run: ./scripts/test.sh timeout-minutes: 30