From a13e4db60d464921d79560cb4f8802467bb36ba8 Mon Sep 17 00:00:00 2001 From: mutantsan Date: Thu, 29 Feb 2024 11:28:38 +0200 Subject: [PATCH] test: fix tests, add test budge --- .github/workflows/test.yml | 9 ++++----- README.md | 2 ++ 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 36655de..6b6aba1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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-dev:2.10.3 services: solr: - image: ckan/ckan-solr-dev:2.9 + image: ckan/ckan-solr:2.10-solr9 postgres: - image: ckan/ckan-postgres-dev:2.9 + image: ckan/ckan-postgres-dev:2.10 env: POSTGRES_USER: postgres POSTGRES_PASSWORD: postgres @@ -29,7 +29,7 @@ jobs: CKAN_REDIS_URL: redis://redis:6379/1 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Install requirements # Install any extra requirements your extension has here (dev requirements, other extensions etc) run: | @@ -45,4 +45,3 @@ jobs: ckan -c test.ini db init - name: Run tests run: pytest --ckan-ini=test.ini --cov=ckanext.transmute --disable-warnings ckanext/transmute - diff --git a/README.md b/README.md index d0ef53e..be427ab 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Tests](https://github.com/mutantsan/ckanext-transmute/actions/workflows/test.yml/badge.svg)](https://github.com/mutantsan/ckanext-transmute/actions/workflows/test.yml) + # ckanext-transmute This extension helps to validate and convert data based on a specific schema.