Skip to content

Commit

Permalink
Merge pull request #108 from qld-gov-au/QOLDEV-1011-ckan-2.11
Browse files Browse the repository at this point in the history
[QOLDEV-1011] add optional testing on latest CKAN master
  • Loading branch information
ThrawnCA authored Nov 15, 2024
2 parents 56e17e0 + 176c6b9 commit 7d91e3e
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ jobs:
fail-fast: false
matrix:
ckan-version: ["2.11", "2.10", 2.9]
experimental: [false]
include:
- ckan-version: 'master'
experimental: true #master is unstable, good to know if we are compatible or not

name: Test on CKAN ${{ matrix.ckan-version }}
runs-on: ubuntu-latest
Expand All @@ -43,31 +47,37 @@ jobs:
timeout-minutes: 2

- name: Build
continue-on-error: ${{ matrix.experimental }}
run: bin/build.sh
timeout-minutes: 15

- name: Test
continue-on-error: ${{ matrix.experimental }}
run: bin/test.sh
timeout-minutes: 20

- name: Retrieve logs
continue-on-error: ${{ matrix.experimental }}
if: always()
run: ahoy logs
timeout-minutes: 1

- name: Retrieve results
continue-on-error: ${{ matrix.experimental }}
if: always()
run: bin/process-artifacts.sh
timeout-minutes: 1

- name: Test Summary
uses: test-summary/action@v2
continue-on-error: ${{ matrix.experimental }}
with:
paths: "/tmp/artifacts/junit/*.xml"
if: always()

- name: Upload screenshots
if: always()
continue-on-error: ${{ matrix.experimental }}
uses: actions/upload-artifact@v4
with:
name: CKAN ${{ matrix.ckan-version }} screenshots
Expand Down

0 comments on commit 7d91e3e

Please sign in to comment.