Wykres commitów

61 Commity (092bd30dcb366f198fbc7144061b0c6847f6e7cd)

Autor SHA1 Wiadomość Data
Matt Westcott 605c9cf1a6 Drop support for Elasticsearch 5 and 6 2023-11-01 14:57:15 +00:00
Matt Westcott d9c8d9fff3 Update CI database versions (#10999)
Rebuild of #10842
2023-10-05 14:44:28 +01:00
Matt Westcott 93064ee74c Bump django-modelcluster to 6.1; no need to test Django 5.x against git main 2023-10-05 11:38:45 +01:00
Matt Westcott bf0601bb42 Test against Django 5.0.x stable branch instead of 4.2.x 2023-10-05 11:38:45 +01:00
Matt Westcott 9c3032083b Test against Python 3.12 2023-10-05 11:35:22 +01:00
Sage Abdullah 341d68c0b1 Use provisional django-taggit branch to test against Django main
Use own fork instead of their branch to ease updates later, in case
additional fixes are needed.
2023-09-27 16:59:01 +01:00
Matt Westcott 362b847ef5 Add test run on opensearch 2023-09-19 10:25:12 +01:00
Sage Abdullah cf9c264875
Use strict editable mode when installing on GitHub Actions 2023-08-16 15:54:33 +01:00
Sage Abdullah c9fd6b893f
Run tests in parallel in some of the GitHub Actions workflow setup 2023-08-02 15:31:58 +01:00
Sage Abdullah 6fed2c8c62
Generate coverage HTML report and upload as GitHub Actions artifact and summary 2023-08-02 14:48:57 +01:00
Sage Abdullah 19123cedc6
Bump actions@setup-python to v4 and add caching for pip 2023-08-02 14:45:54 +01:00
Matt Westcott e364747bfa Install elasticsearch-py v8 for testing against Elasticsearch 8 2023-07-17 16:18:37 +01:00
Matt Westcott 5e1b12ce32 Add Elasticsearch 8 to test matrix (but keep using the v7 python library, as a baseline test) 2023-07-17 16:18:37 +01:00
zerolab adde8b66f6 Drop support for Python 3.7 2023-07-14 13:06:41 +01:00
Sage Abdullah 8bc31fc31c Unpin django-taggit when testing against Django main 2023-06-12 14:35:41 +01:00
Sage Abdullah 5b20ae5f83 Use django-taggit fork to test against Django main 2023-04-21 11:51:30 +01:00
Matt Westcott 18e57574cb Formalise support for Django 4.2 2023-04-03 17:14:29 +02:00
Sage Abdullah 4c4c88ace6 Add CAP_SYS_NICE to MySQL service config in GitHub Actions test workflow 2023-02-14 15:08:58 +00:00
Sage Abdullah b17c72cf3d Test Django main against django-modelcluster main branch
To be removed when a new release of django-modelcluster with the necessary fixes is out.
2023-02-10 14:41:58 +00:00
Matt Westcott 4f36562de7 Update Github actions to test against Django stable/4.2.x 2023-01-25 16:24:23 +00:00
Sage Abdullah f1b30cc87c Run Python tests with coverage and upload coverage data to codecov 2022-11-02 06:33:38 +10:00
Matt Westcott 7705b080a0 Add formal support for Python 3.11 2022-10-26 11:01:14 +01:00
Matt Westcott 55858c0dc0 Do not install django-rest-framework master when testing against Django main
This was added in 070b0bdfa4 to ensure https://github.com/encode/django-rest-framework/pull/8556 was in place, but this fix has now been released in django-rest-framework 3.14.
2022-10-19 16:48:29 +01:00
Alex d0c0e2fc02 build: harden test.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 20:49:14 +10:00
Alex b716a3baa6 build: harden codeql-analysis.yml permissions
Signed-off-by: Alex <aleksandrosansan@gmail.com>
2022-09-20 20:49:14 +10:00
Andy Chosak 722e292d63 Add testing against MySQL / Django 4.1.x 2022-08-06 21:54:32 +10:00
Matt Westcott 2a7b0f6328 Test against postgres 11 as standard 2022-08-04 13:52:33 +02:00
Matt Westcott d4837edef9 Formalise support for Django 4.1 2022-08-04 13:52:33 +02:00
Matt Westcott 070b0bdfa4 Test Django main against git master of django-rest-framework
Running against Django 4.2(dev) requires the fix https://github.com/encode/django-rest-framework/pull/8556
2022-07-14 18:07:39 +01:00
Matt Westcott a0de60b1ea
Test against Django stable/4.1.x branch (#8774)
* Test against Django stable/4.1.x branch

* Use postgres 12 for stable/4.1.x
2022-06-29 10:18:41 +01:00
Sage Abdullah 93c9103d8a Use PostgreSQL 12 when testing against Django main 2022-05-20 12:18:20 +01:00
sag᠎e bb2c826cbc
Use PostgreSQL 11 when testing against Django main (#8489)
Django dropped support for PostgreSQL 10 as of Django 4.1
2022-05-05 10:47:38 +01:00
Matt Westcott 5b4242df3c
Fix test migrations for django-taggit 3.0.0 (#8451)
* Fix test migrations for django-taggit 3.0.0 (forthcoming)

The next release of django-taggit [will change slugs to allow_unicode=True](https://github.com/jazzband/django-taggit/pull/797), which breaks our check for missing migrations.

This change is not released yet, but the fix is needed now so that we can run against django-taggit git master for our tests against Django main. It's also dependent on the version bump happening at the django-taggit end: https://github.com/jazzband/django-taggit/pull/800

* Allow django-taggit 3.x as a dependency and drop special case when testing against Django main
2022-05-02 14:47:48 +01:00
Matt Westcott 050f481575 Apply Prettier formatting to test.yml 2022-04-05 15:10:05 +01:00
Vinit Kumar 760f37988e revert: change to pip caching
let's revisit this optimization in a different PR, since there is no
explicit requirements.txt in the project as such. We will need a slighly
different approach with this.

Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
2022-04-05 14:55:26 +01:00
Vinit Kumar f02f49c9ad feat: upgrade github actions and cache pip
Github actions have a new release and pip cache was not enabled.

Both of these will make the CI run faster.

Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
2022-04-05 14:55:26 +01:00
Vinit Kumar a7fb0f89be fix: cancel in progress CI runs
This improves the CI experience as it will run the github checks in a
group and at the same time cancel in progress jobs if a new commit is
pushed for the pull request.

No only does it makes the contributing experience nice, but it also
saves tonnes of energy.

- Github Issue: #8276

Authored-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
Signed-off-by: Vinit Kumar <vinit.kumar@kidskonnect.nl>
2022-04-05 14:55:26 +01:00
Matt Westcott 06eb4c2afd Use released django-modelcluster when testing against Django main
django-modelcluster 5.3 now ships with the provisional Django 4.1 compatibility fix.
2022-03-11 14:30:29 +00:00
Matt Westcott 177bc53aa0 test Django main against django-modelcluster and django-taggit main branches, now that fixes have been merged 2022-03-04 16:07:22 +00:00
Matt Westcott 1c0d4d92a8 Install patched django-modelcluster and django-taggit when testing against django main 2022-02-23 08:26:23 +00:00
Thibaud Colas af942a27e4
Reformat codebase with Prettier (#7912)
- Automated reformatting
- Manually change code where Prettier reformatting causes issues
- Revert "Disable Prettier formatting in CI for now"
2022-02-04 11:57:55 +00:00
Matt Westcott 6b22835dc5 Formalise support for Django 4.0 2022-01-24 11:46:12 +00:00
Matt Westcott d6d43338ef Drop support for Django <3.2 2022-01-14 14:23:56 +00:00
Matt Westcott e953de9cb2 Fix Github Actions setup to install Django after Wagtail
This way, if the Django version is outside Wagtail's supported range (e.g. we're testing against Django's git main), it won't get silently downgraded.
2022-01-14 14:23:56 +00:00
Matt Westcott cf0ee13b49 Remove Python 3.6 support 2021-12-09 16:36:29 +00:00
Matt Westcott 9aaaee043d Start testing against Django stable/4.0.x 2021-10-28 14:11:14 +01:00
Matt Westcott b6b3a0c4ac Add support for Python 3.10
Quote all versions in test.yml (so that 3.10 isn't interpreted as 3.1)
2021-10-07 15:20:28 +10:00
Karl Hobley a3feea125b Delete docs build 2021-08-09 09:59:12 +01:00
Dan Braghis bca79b81f7
Change CodeQL analysis on cron only (#7229)
now that they mark unrelated changes as failures on PR...
2021-06-01 10:53:47 +01:00
Matt Westcott 85c97fe87f Drop support for Django 2.2 2021-04-30 10:33:41 +01:00