Commit Graph

186 Commits

Author SHA1 Message Date
Adam Turner
9e6276feda Fix git pathspec for translations workflow (#12566) 2024-07-14 05:27:38 +01:00
Adam Turner
51905162a3 Restrict the translations PR to only changes under `sphinx/locale/` (#12565) 2024-07-14 05:23:06 +01:00
Adam Turner
bd6f87dd6a Use Babel errors for the PR body in the transifex workflow (#12562)
Currently, when Babel fails for a locale, the entire PR fails.
Instead, just skip compiling the catalogue for that locale, and report the failures in the body of the PR to be more visible.
2024-07-13 18:26:32 +01:00
Adam Turner
d2f426637d Require Docutils 0.20 or greater (#12555) 2024-07-13 08:20:13 +01:00
Stephen Finucane
5ea16e748b Add tox `lint` target (#11602)
Signed-off-by: Stephen Finucane <stephen@that.guru>
2024-07-06 19:42:20 +01:00
James Addison
d42db153df [ci] Ensure files within tests/js trigger NodeJS tests (#12445)
Ensure that any changes to the JS tests,
introduced in PR/commit pushes,
re-runs the relevant GitHub Actions workflow.
2024-06-23 00:23:04 +02:00
Adam Turner
db7ba522d7 Install epubcheck for Docutils HEAD tests (#12272) 2024-04-12 21:32:19 +01:00
Adam Turner
f51b9d9988 Test with Docutils 0.21 2024-04-11 19:51:47 +01:00
Hugo van Kemenade
b1548d0aa4 CI: Print detailed Python version (#12176)
Print additional python version information for CI jobs
2024-03-22 18:10:35 +01:00
Chris Sewell
b45fee696f 🔧 Sync make doclinter with CI check (#12156)
Unignore files in `make doclinter` command, fix the resulting issues, and use this command in the CI job
2024-03-21 13:12:06 +01:00
Chris Sewell
d8cf71cbde 🔧 Setup ruff format (initially excluding all files) (#12136)
Co-authored-by: danieleades <33452915+danieleades@users.noreply.github.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-19 10:27:41 +01:00
dependabot[bot]
95d710e78f Bump softprops/action-gh-release from 1 to 2 (#12059)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
2024-03-19 03:03:48 +01:00
dependabot[bot]
63c53c412f Bump peter-evans/create-pull-request from 5 to 6 (#11947)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
2024-03-19 02:54:26 +01:00
dependabot[bot]
2f6156f605 🔧 Bump codecov/codecov-action from 3 to 4 (#11948)
Co-authored-by: Chris Sewell <chrisj_sewell@hotmail.com>
2024-03-19 02:45:53 +01:00
danieleades
d74a450213 [deps] bump ruff version (#12065)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-14 10:42:55 +01:00
danieleades
3190c3fcf1 [github] update dependabot config (#12071) 2024-03-14 09:55:07 +01:00
James Addison
c777897109 [github] update issue label names (#12039)
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-03-03 10:24:44 +01:00
danieleades
d6f38ade54 [CI] update mypy CI job to use local config (#12013)
Co-authored-by: daniel.eades <daniel.eades@seebyte.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2024-02-26 12:15:17 +01:00
Charlie Marsh
aff95789ac Upgrade Ruff configuration for v0.2.0 (#11927)
Co-authored-by: Adam Turner <9087854+aa-turner@users.noreply.github.com>
2024-02-02 00:11:44 +00:00
Adam Turner
fa29004951 Bump Ruff to 0.1.14 and remove flake8-simplify (#11906)
Authored-by: Daniel Eades <danieleades@hotmail.com>
Co-authored-by: Daniel Eades <danieleades@hotmail.com>
2024-01-21 20:42:23 +00:00
Adam Turner
82d78c19bf Bump Ruff to 0.1.13 2024-01-13 20:49:45 +00:00
Adam Turner
3d98eeea79 Update Ruff to 0.1.11 2024-01-04 02:43:52 +00:00
Adam Turner
bc9479b241 Use long options for sphinx-build in GitHub Actions 2024-01-04 02:40:44 +00:00
Adam Turner
cb9656f654 Update all GitHub Actions versions 2024-01-03 03:31:39 +00:00
Adam Turner
a31ebf7f8d Test with released versions of Python 3.12 2024-01-03 03:23:58 +00:00
Adam Turner
868199ec18 Cease using isort 2023-12-26 04:30:29 +00:00
Adam Turner
05d5e2f360 Pin the required versions of mypy and ruff 2023-12-26 04:24:52 +00:00
Adam Turner
b2afe12eb7 Merge Ruff ignores into the select list 2023-12-26 04:04:22 +00:00
Adam Turner
de6d3665ef Allow warnings within the coverage job 2023-09-21 09:27:04 +01:00
Adam Turner
40e1ae143f Name the coverage job 2023-09-21 09:21:50 +01:00
Adam Turner
c843b31686 Run fewer test jobs
Only test with the newest and oldest supported versions of Docutils
on all but the latest supported version of Python.
2023-09-21 09:19:33 +01:00
Adam Turner
58fdd344d3 Use the correct path to the JavaScript tests workflow 2023-09-21 09:17:41 +01:00
Adam Turner
22741540f3 Do not install graphviz on the LaTeX container image
graphviz is pre-installed, so there's no point installing it.
2023-09-21 09:16:11 +01:00
Adam Turner
9298de548f Update CI configuration
- Merge LaTeX and Coverage into the main CI file
- Only run tests when a relevant file changes
- Update ``actions/checkout``
- Set ``-Werror`` only on pytest steps
- Reduce verbosity on the documentation workflow
2023-09-21 09:08:29 +01:00
Adam Turner
3ac143c8bf Enable nit-picky mode in `conf.py` 2023-09-21 09:02:58 +01:00
Adam Turner
655bd15749 Adorn top-level files with a '.rst' suffix 2023-09-14 11:08:17 +01:00
Adam Turner
9bf0f491f9 Update Ruff configuration for 0.0.284 2023-08-13 22:11:15 +01:00
Adam Turner
ad61e41157 Drop support for Python 3.8 (#11511) 2023-07-25 02:07:23 +01:00
Adam Turner
0882914d5c Target PyPI in create-release.yml 2023-07-24 16:52:37 +01:00
Adam Turner
21fbee5e83 Fix OIDC token payload 2023-07-24 16:42:36 +01:00
Adam Turner
1a403e4f9a Add informational log messaging 2023-07-24 16:39:15 +01:00
Adam Turner
258b0ea9fc Revert "Switch to using `github.request`"
This reverts commit f9c89e5d84.
2023-07-24 16:30:36 +01:00
Adam Turner
f9c89e5d84 Switch to using `github.request` 2023-07-24 16:08:01 +01:00
Adam Turner
52c7f66ce1 Use the correct token minting URL for TestPyPI 2023-07-24 15:40:25 +01:00
Adam Turner
6079f28faa Install twine in PyPI publish workflow 2023-07-24 15:26:17 +01:00
Adam Turner
3d43b9efdb Fix github-script syntax in create-release.yml 2023-07-24 15:20:28 +01:00
Adam Turner
a539ce78f5 Add GitHub Actions environment; fix variable names 2023-07-24 15:12:46 +01:00
Adam Turner
c161e9c286 Publish releases to PyPI
Implement the PyPI trusted publisher OIDC flow within GitHub Actions.
2023-07-24 14:58:06 +01:00
Adam Turner
e4d1477c05 Test with Python 3.13 alpha releases (#11507) 2023-07-24 11:46:14 +01:00
Adam Turner
8942a1dddf Test with Docutils 0.20 2023-05-09 19:24:18 +01:00