Skip to content

Commit

Permalink
Fix test pipelines.
Browse files Browse the repository at this point in the history
  • Loading branch information
Richard Barran committed Jul 28, 2023
1 parent 5d52a42 commit 29f52f0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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
Expand All @@ -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' }}
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 29f52f0

Please sign in to comment.