Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QOLDEV-1011] add optional testing on latest CKAN master #108

Merged
merged 1 commit into from
Nov 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading