diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a4225588..ffe8c2c4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,12 +1,12 @@ name: Tests -on: [push, pull_request] +on: [pull_request] jobs: lint: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - python-version: [ 3.9, "3.10" ] + python-version: [ "3.10" ] steps: - uses: actions/checkout@v6 - uses: actions/setup-python@v6 @@ -24,9 +24,6 @@ jobs: fail-fast: false matrix: include: - - ckan-version: "ckan-dev:2.9-py3.9" - ckan-postgres-version: "2.9" - ckan-solr-version: "2.9-solr8" - ckan-version: "ckan-dev:2.10-py3.10" ckan-postgres-version: "2.10" ckan-solr-version: "2.10" @@ -62,8 +59,6 @@ jobs: run: | pip install -r dev-requirements.txt pip install -r requirements.txt - pip install --no-warn-conflicts jinja2==2.10.1 - pip install --no-warn-conflicts markupsafe==2.0.1 pip install -e . # Replace default path to CKAN core config file with the one on the container sed -i -e 's/use = config:.*/use = config:\/srv\/app\/src\/ckan\/test-core.ini/' test.ini