1
0
mirror of https://github.com/django/django.git synced 2025-09-25 07:59:11 +00:00

94 Commits

Author SHA1 Message Date
Mariusz Felisiak
b7507bad77
Bumped versions in Github actions configuration. 2025-09-12 16:57:52 +02:00
Natalia
4f07767106 Added matrix with newer image versions to the "postgis" GitHub Action.
This work allows to test three types of postgis Docker images to cover
a wider spectrum of geo libraries versions:

* `latest` (recommended upstream): uses latest stable Debian packages.
  These versions are generally conservative, so they may lag behind.
* `alpine`: build PostGIS from source on Alpine, and ship newer
  geospatial libs.
* `master`: provides development versions, therefore coverage for what's
  coming. Future compatibility issues can be caught in advance.

This split is important because each image differs significantly in
GEOS/PROJ/GDAL versions, so testing all increases confidence in
compatibility. More info at https://hub.docker.com/r/postgis/postgis/.

For example, at the time of this branch:

* latest stable in debian:
  * POSTGIS="3.5.2 dea6d0a"
  * GEOS="3.9.0-CAPI-1.16.2"
  * PROJ="7.2.1"
* latest stable in alpine:
  * POSTGIS="3.5.3 0"
  * GEOS="3.13.1-CAPI-1.19.2"
  * PROJ="9.6.0
* latest development branch:
  * POSTGIS="3.6.0dev 3.6.0beta1-29-g7c8cfe07d"
  * GEOS="3.14.0beta2-CAPI-1.20.1"
  * PROJ="9.7.0"
2025-08-27 11:33:13 -03:00
Natalia
1b0c4d5ea5 Ensured apt repo is updated before installing deps in "postgis" GitHub Action. 2025-08-27 11:33:13 -03:00
David Smith
43e4d0a142 Fixed #36485 -- Added lint-docs check in Tox and GitHub Actions.
The `check` docs target now runs spelling, black, and lint, so all
current documentation quality checks can be run with a single command.

Also documented the lint-docs check's availability and usage.
2025-08-25 10:51:10 -03:00
David Smith
7a80e29fea Improved docs.yml GitHub Action covering docs quality checks.
This change renames the `docs` job to `spelling` to better reflect its
purpose. It also removes the unused `--keep-going` flag, since starting
with Sphinx 8.1, `--keep-going` is enabled by default.

See:
https://www.sphinx-doc.org/en/master/man/sphinx-build.html#cmdoption-sphinx-build-keep-going
2025-08-08 16:39:50 -03:00
nessita
8499fba0e1
Fixed GitHub Action that checks commit prefixes to fetch PR head correctly. 2025-07-16 15:36:33 -03:00
nessita
10386fac00
Added GitHub Action to enforce stable branch commit message prefix. 2025-07-16 08:38:13 -03:00
nessita
8c56e93975
Refs #36009 -- Added GitHub action workflow to run tests with latest stable postgis version. 2025-06-17 15:25:47 -03:00
Sarah Boyce
18fa74fc88 Skipped "Labels" Github action when not targeting the main django/django repo. 2025-04-23 11:40:17 -03:00
nessita
0671a461c4
Pinned isort version to "<6.0.0" to avoid undesired reformat. 2025-01-28 22:17:40 -03:00
Sarah Boyce
1b6ec1f944
Switched to pull_request_target event trigger in the Labels Github action.
The `pull_request` trigger runs in the context of the PR, and has
limited access to information stored in the base repo django/django.
As access is needed to the label "no ticket" in django/django, use the
`pull_request_target` trigger.
2025-01-22 08:43:18 -03:00
nessita
862b7f98a0
Moved permissions setup to toplevel for the Labels Github action. 2025-01-21 14:15:27 -03:00
Sarah Boyce
5244ecbd22
Added GitHub action to label PRs without a ticket linked in title. 2025-01-21 11:49:40 -03:00
Mariusz Felisiak
f5772de696 Fixed #36005 -- Dropped support for Python 3.10 and 3.11. 2025-01-20 14:07:28 +01:00
David Smith
73d532d9a9
Upgraded to Python 3.12, Ubuntu 24.04, and enabled fail_on_warning for docs builds. 2024-11-27 15:20:49 -03:00
Mariusz Felisiak
7a1fa20e9b Made GitHub actions display all warnings in Python tests. 2024-10-25 10:05:19 +02:00
Mariusz Felisiak
48fa531fbc
Refs #35844 -- Added Python 3.14 to daily builds. 2024-10-16 22:19:17 -03:00
nessita
470f4c2436
Added GitHub Action workflow to test all Python versions listed in the project config file. 2024-10-09 10:19:12 -03:00
Mariusz Felisiak
f07eeff3a2 Refs #34900 -- Added Python 3.12 to classifiers and tox.ini, and used it in GitHub actions. 2024-10-09 09:27:33 +02:00
nessita
c334c1a8ff
Bumped latest PostgreSQL to 17 in scheduled tests workflow. 2024-10-03 17:49:02 -03:00
nessita
92f860e3f4
Refs #35734 -- Added entry to scheduled tests workflow to test newer PostgreSQL versions. 2024-09-19 10:37:13 -03:00
Sarah Boyce
ccd6e13cc9 Pinned Miniforge in benchmark workflow. 2024-09-13 14:08:01 +02:00
Marijke Luttekes
ba46b09f31 Updated GitHub PR template headings to level 4.
GitHub pull request descriptions are rendered as a comment. Comment
titles, which include the PR author, render in a h3. Hence, titles
within the comment body should be header level 4. This makes pull
request descriptions more accessible to screen readers.
2024-08-20 12:51:25 +02:00
nessita
8cf931dd2f
Removed GitHub Actions for creating and checking reminders. 2024-07-31 10:07:57 -03:00
Mariusz Felisiak
b049bec7cf Fixed #35479 -- Dropped support for PostgreSQL 13 and PostGIS 3.0. 2024-05-27 09:49:25 +02:00
Nick Pope
962215db13 Organized images in the screenshots workflow.
Added a top-level directory in the zip archive that is the commit
hash which makes it easier when downloading multiple artifacts
for comparison. Updated the filenames of screenshots for easier
comparison between different cases. Added that an error is
raised if no screenshots uploaded in workflow.
2024-05-10 10:37:56 +02:00
Nick Pope
02c2090dc0 Optimized images in the screenshots workflow.
Running `oxipng` over a set of screenshots from a previous run that were
1.9M in size resulted in a total size of 1.3M, a 31.5% reduction.

This can be useful to reduce the artifact size stored in GitHub and
locally if downloading screenshots from multiple runs.

See https://til.simonwillison.net/github-actions/oxipng
2024-05-10 10:37:56 +02:00
Nick Pope
956f6610ec Removed obsolete logic from screenshots workflow.
The id was used when we attempted to update comments in an early
version of the feature. Also removed the job summary as it
doesn't have the value that it did in the original version of
the feature.
2024-05-10 10:37:56 +02:00
nessita
ec8552417d
Pinned GitHub Actions for reminders to commit hashes for latest release. 2024-04-24 10:21:57 -03:00
nessita
694a96524b
Improved phrasing and removed bold text in the GitHub pull request template. 2024-04-24 10:20:02 -03:00
Mariusz Felisiak
0a6ed278d8
Stopped using byte-compiled 3rd-party packages in daily builds for byte-compiled Django. 2024-03-18 19:37:04 +01:00
erosselli
3fcef50472
Added a GitHub pull request template.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
Co-authored-by: Paolo Melchiorre <paolo@melchiorre.org>
Co-authored-by: Adam Johnson <me@adamj.eu>
2024-03-04 14:07:37 -03:00
nessita
1fd57f2a21
Added GitHub Actions to create and check for reminders in pull requests. 2024-02-22 09:17:46 -03:00
Jon Janzen
6feaad9113 Refs #30950, Refs #35187 -- Added tests for byte-compiled Django to daily builds. 2024-02-21 12:47:10 +01:00
Mariusz Felisiak
e676f56527
Bumped versions in Github actions configuration. 2024-01-26 13:41:52 +01:00
Nick Pope
8709fe61ba
Fixed database connection for other alias in PostgreSQL tests on GitHub Actions. 2023-12-15 14:44:35 +01:00
Tom Carrick
0eaad0bb59
Removed unnecessary write permission from screenshots Github workflow. 2023-12-13 15:38:59 -03:00
Tom Carrick
ed65610653
Changed the screenshots Github workflow to run in the PR's branch by using pull_request as event trigger.
The original event trigger pull_request_target runs against the target branch (main), not the branch associated with the PR. Consequently, any new screenshots added in a PR are not captured, and the available screenshots reflect the state of the main branch code, not the code from the PR's branch.

This update addresses the issue by changing the event trigger to pull_request. However, it's important to note that this adjustment breaks the comments functionality since the action no longer has write permissions.
2023-12-12 13:22:32 -03:00
Nick Pope
2dca98f4f7 Refs #34986 -- Added PyPy 3.10 with PostgreSQL to daily builds. 2023-12-07 09:44:34 +01:00
Mariusz Felisiak
0d407bcce5
Refs #34986 -- Installed libmemcached-dev in PyPy 3.10 daily builds. 2023-11-22 09:59:11 +01:00
Mariusz Felisiak
f01dc3cc42
Added PyPy 3.10 to daily builds. 2023-11-21 22:39:34 +01:00
Mariusz Felisiak
00a950f923
Refs #34900 -- Added Python 3.13 to daily builds. 2023-11-20 19:52:56 +01:00
Mariusz Felisiak
19c4052f98
Refs #34118 -- Used Python 3.12 for GitHub actions. 2023-11-18 16:58:25 +01:00
Mariusz Felisiak
86ae1a3b6c
Fixed permissions for GitHub action with screenshots.
Follow up to 97b7970c6479ef414175f22a009240ed0df8ce46.
2023-10-19 13:37:05 +02:00
Sarah Boyce
97b7970c64 Refs #34043 -- Added GitHub action to capture screenshots in Selenium tests. 2023-10-18 11:19:54 +02:00
Mariusz Felisiak
54d9d26ebf
Used Node.js 20 for GitHub actions. 2023-10-03 10:25:31 +02:00
Mariusz Felisiak
cfe27544df
Refs #34851 -- Used PostgreSQL 13 for selenium tests.
Follow up to 2c6ebb65c9eb6b11347d907127b82d31e04569e5.
2023-09-21 08:10:51 +02:00
Mariusz Felisiak
4f0c0e6fa1
Bumped checkout version in Github actions configuration. 2023-09-05 10:52:17 +02:00
Mariusz Felisiak
17cdc7395e
Improved names for Selenium daily builds. 2023-06-18 13:20:05 +02:00
Sarah Boyce
c914f54237
Added Selenium tests to daily builds. 2023-06-17 11:39:49 +02:00