0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-24 10:58:52 +01:00
Commit Graph

38 Commits

Author SHA1 Message Date
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
Matt Westcott
38f0cb44a4 Fix github action syntax 2021-04-19 12:03:38 +01:00
Matt Westcott
8f5a2a8fe9 Formalise support for Django 3.2
Fixes #6981
2021-04-19 12:03:38 +01:00
Matt Westcott
f2be408f62
Fix wagtailembeds thumbnail_url migration for MySQL 8.0.13 (#6999)
* Upgrade mysql to 8.0.23 for github actions

* Fix thumbnail_url migration to work on Django 3 / MySQL 8.0.13+

Work around https://code.djangoproject.com/ticket/32503 by applying the not-null constraint before converting to TextField.
2021-04-16 21:41:32 +02:00
Dan Braghis
0ac4a989dc
Add CodeQL workflow (#6977)
CodeQL is GitHub's vulnerability scanning tool - https://codeql.github.com/docs/
2021-04-09 10:34:16 +01:00
Samir Shah
421bcbf9c3 Fix CI builds against development Django version
Django has renamed its master branch to main.
2021-03-09 11:00:50 +00:00
Scott Cranfill
2e1eef8bc3 Revert "Support skipping CI"
This reverts commit d84df721f0.
2021-03-04 17:14:38 +00:00
Scott Cranfill
21503858eb
Limit GitHub Actions docs and test workflows depending on changed paths (#6786)
This should result in the docs workflow only running if files in the 
`docs/` folder have changed, and only run the test workflow if files NOT 
in the `docs/` folder have changed.

This commit itself should therefore, I think, only trigger the test 
workflow. I will follow up with test commits for the other scenarios 
(docs-only and both).
2021-02-04 18:00:46 +00:00
Tom Dyson
d84df721f0 Support skipping CI
Don't run CI if the commit message includes "[skip ci]" (like this one!)
2021-02-04 13:53:37 +00:00
Matt Westcott
b5835dd862 Test against Django stable/3.2.x branch 2021-01-19 09:53:30 +00:00
Karl Hobley
b161b66b79 Add a github action to build the docs into JSON format 2021-01-02 11:01:31 +00:00
Matt Westcott
ea9298bd71 add Github Actions config 2020-11-05 12:04:12 +00:00