Skip to content

Commit

Permalink
test: fix tests, add test budge
Browse files Browse the repository at this point in the history
  • Loading branch information
mutantsan committed Feb 29, 2024
1 parent d870380 commit a13e4db
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.

Expand Down

0 comments on commit a13e4db

Please sign in to comment.