LB
2e87f4ddec
Update to Node 22 (active LTS)
...
- See https://nodejs.org/en/blog/release/v22.11.0
- Fixes #12531
2024-11-04 15:40:27 +00:00
Matt Westcott
a199096af3
Attempt to fix CircleCI pipenv cache issues
2024-10-10 20:02:32 +01:00
Matt Westcott
0183876669
Force refresh of CircleCI pipenv cache
...
Attempt to resolve semgrep not found errors
2024-09-11 20:32:47 +01:00
Thibaud Colas
84b3bf7034
Add new Puppeteer cache location to fix CircleCI ui_tests ( #12293 )
2024-09-09 10:20:26 +01:00
Matt Westcott
490acebcf5
Only patch number formatting functions if WAGTAIL_CHECK_TEMPLATE_NUMBER_FORMAT environment variable is set
...
The patch for filesizeformat in particular is quite heavyweight, and we don't want our CI to never test against the real version (for example, if it changes in a future Django release).
2024-08-27 14:15:34 +01:00
Matt Westcott
a8a29201c9
Drop support for Python 3.8
2024-07-23 10:12:45 +01:00
Sage Abdullah
f372cf1ba4
Use DEBUG=False for testing collectstatic in CI
2024-02-15 12:19:02 +00:00
John-Scott Atlakson
9a2177dc19
Upgrade ruff
and replace black
with ruff format
2023-11-17 15:21:55 +00:00
LB Johnston
570b9a410c
Upgrade to Node 20
2023-11-12 08:45:58 +11:00
Sage Abdullah
ebbd5d0767
Remove no_output_timeout and only use 2 CPU cores for running tests on CircleCI
2023-08-04 12:33:01 +01:00
Sage Abdullah
47e2705d19
Revert "Use file-based SQLite database when running tests on CircleCI"
...
This reverts commit bc71a28955
.
2023-08-04 11:49:22 +01:00
Sage Abdullah
bc71a28955
Use file-based SQLite database when running tests on CircleCI
2023-08-04 09:45:51 +01:00
Sage Abdullah
4d870af3b2
Set PYTHONUNBUFFERED=1 and increase no_output_timeout on CircleCI
...
https://support.circleci.com/hc/en-us/articles/360045268074-Build-Fails-with-Too-long-with-no-output-exceeded-10m0s-context-deadline-exceeded-
2023-08-03 15:28:53 +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
Matt Westcott
9881ec12b8
Update black target version to 3.8 in circleci config
2023-07-14 13:44:02 +01:00
Oli
459fbb2cc9
Switch to ruff for flake8 / isort code checking ( #10324 )
2023-04-21 11:58:27 +01:00
Thibaud Colas
09023719a3
Run Storybook builds in CircleCI
2023-02-15 22:52:49 +10:00
Loic Teixeira
5c1c2c8f53
Enforce the use of a single string formatting mechanism for translation source strings
...
Close #9377
2022-11-26 11:00:05 +01:00
LB Johnston
f362377b04
update node usage to node 18
...
- fixes #8499
2022-10-28 06:18:58 +10:00
Matt Westcott
5f9314393c
run collectstatic with ManifestStaticFilesStorage
2022-08-24 15:31:21 +01:00
Matt Westcott
3e011a2356
Run collectstatic during ui_tests
2022-08-24 15:31:21 +01:00
Thibaud Colas
524cab82e3
Introduce new template fragment composition tags
2022-07-06 18:18:21 +10:00
Steve Stein
6343a9558c
Implement new reusable dialog component with a11y-dialog ( #8541 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-05-20 15:02:32 +01:00
Karl Hobley
0fd99886a2
Move tests to test
2022-03-17 17:19:59 +00:00
Thibaud Colas
fc0f76ea9d
Switch from jinjalint to curlylint
2022-03-11 15:21:47 +00:00
Thibaud Colas
855486157b
Make sure CircleCI build installs all dependencies
2022-03-11 15:21:47 +00:00
Dan Braghis
6dae6e5d07
Add and configure black
...
This:
- updates the pre-commit configuration and setup.py testing dependencies
- updates isort/flake8 configuration for black
- adds black linting to Makefile and CircleCI configuration
- updates editorconfig with the new line length (88) for py files
- updates python guidelines in docs
2022-02-15 13:06:17 +00:00
Steve
bcc7df10d6
Enable pre-commit and final setup tweaks
...
- Remove true on ci check
- Prevent icons final newline
- Change column number in templates linting
2022-02-12 01:15:51 +00:00
Steve Stein
72886c0a62
Djhtml install and configure with pre-commit ( #7940 )
2022-02-12 01:04:21 +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
Thibaud Colas
11ccf30f00
Add Prettier configuration & documentation ( #7908 )
...
- Install Prettier
- Add Prettier configuration
- Add git-blame-ignore-revs
- Clean up .editorconfig indent_style definition
- Clean up .editorconfig space definitions
- Add documentation for Prettier
- Add missing Prettier run-scripts
- Disable Prettier formatting in CI for now
2022-02-04 11:45:08 +00:00
Thibaud Colas
6bf0169e09
Upgrade Node tooling to Node v16 and npm v8
2022-02-01 07:36:17 +10:00
Thibaud Colas
ee15eec511
Switch all Node tooling from Gulp to Webpack, with needed code changes
...
- Remove gulp code and docs
- Add base CSS & SCSS processing in Webpack
- Make sure Sass files use paths that can be resolved by Webpack
- Use faster source map generation
- Clean up build scripts
- Make sure Storybook can process Sass
- Switch away from web fonts (more work needed)
2022-02-01 07:36:17 +10:00
Thibaud Colas
a5b563fc07
Switch to npm ci instead of npm install
2022-01-15 21:44:36 +10:00
Thibaud Colas
44fd1852ee
Trial browser tests in CircleCI
2022-01-15 21:44:36 +10:00
Thibaud Colas
a6a71937b8
Change CircleCI npm caching to be more aggressive
...
Make sure static files build happens before linting
2022-01-08 21:54:46 +10:00
Thibaud Colas
7523d65d84
Fix caching setup for Python dependencies in CircleCI
2022-01-08 21:54:46 +10:00
Karl Hobley
b3c35e5f7f
Update Circle CI base image ( #7518 )
...
[...] CircleCI’s latest pre-built container images were designed from the ground up to help your team build more reliably. Our new images were built specifically for continuous integration projects and they are our most deterministic, performant, and efficient images yet.
2021-09-18 17:11:43 +01:00
LB Johnston
277e5481e7
update node requirements to node v14
...
- fixes #7473
2021-08-31 11:11:26 +10:00
Matt Westcott
39e168c574
Build front-end assets on CircleCI
...
This means we don't need a bogus "eslint-disable-next-line import/no-unresolved" directive when importing built CSS, which ends up breaking lint locally. Fixes #7177
2021-06-21 14:34:40 +01:00
Matt Westcott
e99c07a42e
upgrade circleci python image to see if it fixes sqlite compatibility
2021-04-19 12:03:38 +01:00
Naomi I. Morduch Toubman
664b0489fe
Change master
to main
( #6830 )
...
* Update references to `master` branch to say `main`
* Update external links
* Update links in old release notes
Use tagged versions of code rather than current code
2021-03-03 13:33:19 -05:00
Matt Westcott
9f4fe2104e
Upgrade circleci nightly build to use node 10
2021-01-18 00:21:05 +00:00
Matt Westcott
878f2784cb
Add config section for doc8 in setup.cfg and ignore _build dir
2020-10-21 12:39:32 +01:00
Matt Westcott
9947b955da
Lint config fixes ( #6473 )
...
Ref #6463 , #6428
* pin isort to 5.6.4
* update isort version mentioned in python_guidelines.rst
* make lint commands consistent between make lint and circleci
* fix isort errors on files outside of /wagtail
* speed up isort by ignoring additional directories and filetypes
2020-10-19 21:33:10 +01:00
Karl Hobley
f2dfff8061
Flake8 all other Python files
2020-10-05 14:27:50 +01:00
Karl Hobley
9195131738
Lint docs with doc8
2020-10-03 14:43:03 +01:00
Thibaud Colas
7eeb44ad04
Replace gulp-sass with gulp-dart-sass
...
* Rewrite Sass code that relies on deprecated or removed features in Dart Sass
* Remove unneeded rebuild of node-sass
* Update lockfile
2020-05-17 21:00:20 +10:00
Jim Jazwiecki
6ea0cc52f3
Upgrade to Gulp v4 & Node 10
...
* Syntax changes to get Gulp working
* Require Node 10, use node 10 in CircleCI and squash.yml
* Update docs
* resolves #5653
2020-05-01 12:01:03 +10:00
Karl Hobley
c875df67a2
Nightly: Add script for testing nightly builds
2019-07-02 11:32:59 +01:00