From 29f52f008794ea3c0e307bb8aa595e7efc87d0ac Mon Sep 17 00:00:00 2001 From: Richard Barran Date: Fri, 28 Jul 2023 20:12:49 +0200 Subject: [PATCH] Fix test pipelines. --- .github/workflows/ci.yml | 6 ++++-- CHANGELOG.txt | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 00cc220..65508e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,8 +8,9 @@ jobs: build: runs-on: ubuntu-latest strategy: + fail-fast: false # If one test fails, complete the other jobs. matrix: - python: [ 3.7, 3.8, 3.9, '3.10', '3.11' ] + python: [ 3.8, 3.9, '3.10' ] steps: - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} @@ -18,6 +19,7 @@ jobs: python-version: ${{ matrix.python }} - name: Install dependencies run: | + python -m pip install --upgrade pip pip install -r requirements.txt pip install tox tox-gh-actions working-directory: ./example_project @@ -34,7 +36,7 @@ jobs: - name: Coverage if: ${{ matrix.python == '3.8' }} run: | - pip install coverage[toml] + pip install coverage[toml] django coverage run ./example_project/manage.py test photologue - name: Upload coverage if: ${{ matrix.python == '3.8' }} diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d159721..399ac12 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -8,7 +8,9 @@ Changelog - Do not allow JS injection into the Photo caption field (#223) (bug detected by Domiee13). - Fixed deprecation warnings from Pillow. Should fix #225. - Handle when PHOTOLOGUE_DIR is not a string. Should fix #224. -- Checked compatibility with Django 4.1 and 4.2. Dropped 2.2 and 4.0. +- Checked compatibility with Django 4.1 and 4.2. +- Dropped Django 2.2 and 4.0. Dropped Python 3.7. +- Note: not testing against Python 3.11 as I do not have it installed. 3.15.1 (2022-02-23)