From 692fc4654eddc2bc835a3a333f5fa499d3ddb776 Mon Sep 17 00:00:00 2001 From: Jonathan S Berry Date: Mon, 18 Nov 2024 15:21:03 +0000 Subject: [PATCH] Update github actions --- .github/workflows/test.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cab7906..05bdd56 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,5 +1,5 @@ name: Tests -on: [pull_request] +on: [push, pull_request] jobs: test: runs-on: ubuntu-latest @@ -7,12 +7,12 @@ jobs: # The CKAN version tag of the Solr and Postgres containers should match # the one of the container the tests run on. # You can switch this base image with a custom image tailored to your project - image: openknowledge/ckan-dev:2.9 + image: ckan/ckan-base:2.11.0 services: solr: - image: ckan/ckan-solr-dev:2.9 + image: ckan/ckan-solr:2.10-solr8 postgres: - image: ckan/ckan-postgres-dev:2.9 + image: ckan/ckan-postgres-dev:2.10 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres @@ -44,5 +44,4 @@ jobs: ckan -c test.ini db init - name: Run tests - run: pytest --ckan-ini=test.ini --cov=ckanext.dataset_subscriptions --disable-warnings ckanext/dataset_subscriptions - + run: pytest --ckan-ini=test.ini --cov=ckanext.dataset_subscriptions --disable-warnings ckanext/dataset_subscriptions \ No newline at end of file