Skip to content

Commit 1cfb08d

Browse files
committed
Test 2.11, update action versions
1 parent ca68f37 commit 1cfb08d

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

.github/workflows/test.yml

+8-11
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ jobs:
44
lint:
55
runs-on: ubuntu-latest
66
steps:
7-
- uses: actions/checkout@v3
8-
- uses: actions/setup-python@v4
7+
- uses: actions/checkout@v4
8+
- uses: actions/setup-python@v5
99
with:
1010
python-version: '3.10'
1111
- name: Install requirements
@@ -19,16 +19,16 @@ jobs:
1919
needs: lint
2020
strategy:
2121
matrix:
22-
ckan-version: ["2.10", 2.9]
22+
ckan-version: ["2.11", "2.10", 2.9]
2323
fail-fast: false
2424

2525
name: CKAN ${{ matrix.ckan-version }}
2626
runs-on: ubuntu-latest
2727
container:
28-
image: openknowledge/ckan-dev:${{ matrix.ckan-version }}
28+
image: ckan/ckan-dev:${{ matrix.ckan-version }}
2929
services:
3030
solr:
31-
image: ckan/ckan-solr:${{ matrix.ckan-version }}
31+
image: ckan/ckan-solr:${{ matrix.ckan-version }}-solr9
3232
postgres:
3333
image: ckan/ckan-postgres-dev:${{ matrix.ckan-version }}
3434
env:
@@ -46,7 +46,7 @@ jobs:
4646
CKAN_REDIS_URL: redis://redis:6379/1
4747

4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v4
5050
- name: Install requirements
5151
run: |
5252
pip install -r requirements.txt
@@ -59,8 +59,5 @@ jobs:
5959
ckan -c test.ini db init
6060
ckan -c test.ini pages initdb
6161
- name: Run tests
62-
run: pytest --ckan-ini=test.ini --cov=ckanext.pages --cov-report=xml --cov-append --disable-warnings ckanext/pages/tests
63-
- name: Upload coverage report to codecov
64-
uses: codecov/codecov-action@v1
65-
with:
66-
file: ./coverage.xml
62+
run: pytest --ckan-ini=test.ini --cov=ckanext.pages --cov-report=term-missing --cov-append --disable-warnings ckanext/pages/tests
63+

0 commit comments

Comments
 (0)