0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-22 11:07:57 +01:00
Commit Graph

49 Commits

Author SHA1 Message Date
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
Karl Hobley
4f1a9d1bfd Try pip install --user 2019-06-21 11:31:04 +01:00
Karl Hobley
229c845481
Added CI config to generate nightly builds from master (#5320)
* Added CI config to generate nightly builds from master

* Fix typo

* Don't write __init__.py directly

We need to import the original in the script

* Update wagtail.utils.version

This is based off a copy from Django master made just now and adds
support for 'dev' versions.
2019-06-21 11:13:34 +01:00
Thibaud Colas
14cbc699c9 Fix jinjalint error ignores incompatible with bash -o pipefail in CircleCI 2019-05-10 14:37:11 +01:00
Thibaud Colas
d03642dd38 Configure jinjalint to enforce errors, while filtering-out false positives 2019-05-10 14:37:11 +01:00
Thibaud Colas
a51631c306 Add jinjalint linter for Django templates, allowing errors for now 2019-04-29 13:55:41 +01:00
Matt Westcott
3134ffa119 Recommend npm install --no-save when setting up node toolchain (#5161)
Running `npm install` without `--no-save` can introduce spurious changes to package-lock.json due to differences in platform / node version, and these have been known to accidentally sneak into people's PRs. `npm install` without `--no-save` should only be used when actively updating node dependencies in package.json.
2019-03-21 20:41:14 +00:00
Matt Westcott
363450dd4d Specify file-based sqlite db for circleci 2018-08-21 17:17:04 +01:00
Janneke Janssen
78442e0a00 Migrate to circleci 2.0 2018-08-01 23:30:28 +01:00