Skip to content

Commit

Permalink
Django 5.1 testing, dropped Django 3.2 / Postgres 12 support (Ambitio…
Browse files Browse the repository at this point in the history
…nEng#157)

* Django 5.1 testing, dropped Django 3.2 / Postgres 12 support

* Fix coverage
  • Loading branch information
wesleykendall authored Aug 26, 2024
1 parent 13dea27 commit c02f3d4
Show file tree
Hide file tree
Showing 27 changed files with 375 additions and 1,394 deletions.
43 changes: 21 additions & 22 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ orbs:
docker:
- image: opus10/circleci-python-library:2024-04-17
environment:
# Ensure makefile commands are not wrapped in "docker-compose run"
# Ensure makefile commands are not wrapped in "docker compose run"
EXEC_WRAPPER: ''
TOX_PARALLEL_NO_SPINNER: 1
DATABASE_URL: postgres://root@localhost/circle_test?sslmode=disable
- image: cimg/postgres:<<parameters.pg_version>>
environment:
Expand Down Expand Up @@ -40,14 +39,14 @@ jobs:
test_pg_min:
executor:
name: opus10/python
pg_version: "13.11"
pg_version: "13.16"
steps:
- opus10/test

test_pg_max:
executor:
name: opus10/python
pg_version: "16.0"
pg_version: "16.4"
steps:
- opus10/test

Expand All @@ -69,16 +68,6 @@ jobs:
- run: make dependencies
- run: make type-check || true

check_changelog:
executor: opus10/python
steps:
- checkout
- restore_cache:
key: v4-{{ checksum "poetry.lock" }}
- run: make dependencies
- run: git tidy-log origin/main..
- run: make tidy-lint

deploy:
executor: opus10/python
steps:
Expand All @@ -94,14 +83,22 @@ workflows:
version: 2
on_commit:
jobs:
- test_pg_min
- test_pg_max
- lint
- type_check
- check_changelog:
- test_pg_min:
filters:
branches:
ignore: main
tags:
only: /.*/
- test_pg_max:
filters:
tags:
only: /.*/
- lint:
filters:
tags:
only: /.*/
- type_check:
filters:
tags:
only: /.*/
- deploy:
context: python-library
requires:
Expand All @@ -111,4 +108,6 @@ workflows:
- type_check
filters:
branches:
only: main
ignore: /.*/
tags:
only: /.*/
15 changes: 0 additions & 15 deletions .git-tidy/commit.tpl

This file was deleted.

22 changes: 0 additions & 22 deletions .git-tidy/commit.yaml

This file was deleted.

28 changes: 0 additions & 28 deletions .git-tidy/log.tpl

This file was deleted.

11 changes: 0 additions & 11 deletions .gitcommit.tpl

This file was deleted.

1 change: 1 addition & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
github: wesleykendall
Loading

0 comments on commit c02f3d4

Please sign in to comment.