Commit Graph

93 Commits

Author SHA1 Message Date
Bruno Alla
150e1d8bed
Update black to 22.1.0 (#3572)
Co-authored-by: pyup-bot <github-bot@pyup.io>
2022-02-07 15:40:53 +00:00
Bruno Alla
9e44a205c3 Double quote array expansions to avoid re-splitting elements.
If one argument includes spaces, the expansion will be wrong. Add double quotes to avoid that.

https://github.com/koalaman/shellcheck/wiki/SC2068
2022-01-04 17:48:21 +00:00
Bruno Alla
2adcf9f5d4
Build the HTML for the documentation as part of the CI (#3498) 2021-12-28 15:35:56 +00:00
Bruno Alla
d0d6ebd892
Simplify TEMPLATES settings with APP_DIRS=True (#3488) 2021-12-24 19:35:09 +00:00
Bruno Alla
2186caf11d
Speed up CI tests on macOS (#3480) 2021-12-22 08:14:00 +00:00
Bruno Alla
ce1c76e34e
Fix carriage return in .gitignore on Windows (#3456) 2021-12-16 11:07:47 +00:00
Bruno Alla
407a7d8bbc
Setup pre-commit for the template files (#3433) 2021-11-26 15:41:50 +00:00
mpoli
145d65aeff
Bump Postgres to 13.5 12.9 11.14 10.19; add 14.1 (#3428) 2021-11-22 09:26:46 +00:00
Bruno Alla
9f359939a9
Upgrade JS dependencies and upgrade to node 16 (#3400) 2021-11-16 20:29:43 +00:00
Bruno Alla
954718cd83 Build local docker images on CI 2021-11-11 20:11:42 +00:00
Bruno Alla
57f9ff571b
Merge pull request #3139 from fhightower/patch-1
Removing pycharm docs if app does not use pycharm
2021-09-11 17:55:10 +01:00
Bruno Alla
b7de132d31
Compare boolean with is instead of equality 2021-09-11 17:48:47 +01:00
Bruno Alla
25820cab7d
Merge pull request #3154 from Andrew-Chen-Wang/new-pg 2021-06-22 10:00:22 +01:00
Andrew-Chen-Wang
405e262322 Update PG versions. Drop PG 9
Signed-off-by: Andrew-Chen-Wang <acwangpython@gmail.com>
2021-05-04 11:34:25 -04:00
Floyd Hightower
6f66b330e6 Running black on updated file 2021-04-27 05:41:00 -05:00
Floyd Hightower
6b5ad4e833 Adding test to validate pycharm docs are removed appropriately 2021-04-26 06:17:02 -05:00
Bruno Alla
e08b17a234 Run pre-commit for linting in Docker 2021-04-07 20:57:04 +01:00
Bruno Alla
095a2a56af Run linting via pre-commit on CI 2021-04-07 20:57:04 +01:00
Bruno Alla
a6e4555450 Update tests 2021-03-02 21:20:20 +00:00
Bruno Alla
4e96b64261 Merge branch 'master' into fix_django_31
# Conflicts:
#	{{cookiecutter.project_slug}}/requirements/base.txt
2021-02-23 19:10:52 +00:00
Arnav Choudhury
fbc9b89e0d Updated tests with the updated github stage names. 2021-02-23 11:28:37 +05:30
Arnav Choudhury
db636c8e36 Updated tests with the updated github stage names. 2021-02-23 11:11:03 +05:30
areski
002b3eaf41 Update Django 3.0.11 to 3.1.6 2021-02-04 16:52:45 +01:00
Bruno Alla
5ad419e322 Fixes for pip 20.3 2020-12-02 13:58:05 +00:00
Bruno Alla
f7bba44015 Print commands in bash script 2020-10-04 15:57:37 +01:00
Arnav Choudhury
b064e09f12
Adding GitHub-Action CI Option (#2837) 2020-09-21 11:20:24 +01:00
Bruno Alla
e21869c1d4 Fix black formatting issues 2020-08-27 09:41:28 +02:00
Bruno Alla
1645b8826d Use the pip resolver to avoid broken deps 2020-08-11 16:20:10 +01:00
Andrew-Chen-Wang
4d5b6db4c1 Added PG 12.3; Dropped 9.4 2020-07-11 21:15:17 -04:00
Bruno Alla
d689197c2b Some minor refactorings in tests 2020-07-04 14:58:17 +01:00
Bruno Alla
6f88fe6b4f Reformat test file 2020-05-12 10:24:25 +01:00
Bruno Alla
81642420c4 Run flake8 from the generated project root
3.8.1 can't find the config if running from elsewhere:
https://gitlab.com/pycqa/flake8/-/issues/639
2020-05-12 10:14:34 +01:00
Bruno Alla
f01ff95c51
Merge pull request #2539 from Andrew-Chen-Wang/ci 2020-04-17 11:34:50 +01:00
Andrew-Chen-Wang
d2285d9e2d pytest.parametrized test for generating CI
* Removed celerybeat start's postgres_ready() for new PR for closer inspection and further review. Travis and GitLab CI reflect changes
2020-04-16 13:34:12 -04:00
Andrew-Chen-Wang
3c63b3e46e Add Docker support to Travis and GitLab CI
* Celerybeat start files wait for table migration so that errors don't occur if a migration does not happen post-build
2020-04-14 11:52:14 -04:00
Andrew-Chen-Wang
c4eaf68982 Fixed test_cookiecutter_generation.py for use_async from set to dict 2020-03-24 15:53:45 -04:00
Andrew-Chen-Wang
aee2de347b Add uvicorn and web sockets for Django 3
* Add use_async option to cookiecutter.json
* Add websocket configuration
2020-03-24 15:40:14 -04:00
Andrew-Chen-Wang
484fa4ae77 Added unsupported mail_service combinations
* Added default yaml Loader for pre_gen_projects.py
2020-03-22 13:31:52 -04:00
Andrew-Chen-Wang
5e1d1dd1c3 Fixed tests for mail providers 2020-03-14 15:09:05 -04:00
Andrew-Chen-Wang
9cf72849e6 Merged parent repo and configured refurbished tests 2020-03-14 13:29:08 -04:00
Bruno Alla
52dc302c93 Better error reporting in case of flake8 or black error 2020-03-03 19:37:27 +00:00
Bruno Alla
33f210abc4 Simplify setup for the automated tests 2020-02-29 17:31:16 +00:00
Andrew-Chen-Wang
c839862aef Testing mail service does not raise KeyError
* KeyError raised when cloud_provider was used twice in mark parametrization.
* Tox isn't working properly for me (collecting 17,000 files; obviously neglecting tox.ini and/or pytest.ini)
2020-02-06 22:12:30 -05:00
Andrew-Chen-Wang
0df8cfdb90 Added mail service pytests in test_cookiecutter_generation.py 2020-02-06 21:03:49 -05:00
Bruno Alla
2f6cb4e8f6 Fix deprecation warning 2020-02-03 12:29:37 +00:00
Bruno Alla
2698867cf8 Typo 2020-01-28 10:33:24 +00:00
Bruno Alla
2833600aec Test generation with and without DRF 2020-01-23 14:43:17 +00:00
Ivan Khomutov
113ce88d9c Add option to choose CI tool 2019-12-06 10:55:00 +03:00
Bruno Alla
5750330ac2 Merge whitenoise & cloud provider parametrize in tests 2019-10-06 10:28:15 +01:00
Caio Ariede
4f8834c0eb
Update tests/test_cookiecutter_generation.py
Co-Authored-By: Bruno Alla <browniebroke@users.noreply.github.com>
2019-10-03 11:54:15 -03:00