Arnav Choudhury
8060df4c51
Fix syntax error in GitHub CI workflow ( #4972 )
2024-04-06 09:31:30 +01:00
David Păcioianu
559fae8a70
Update ci.yml ( #4964 )
2024-04-03 15:49:12 +02:00
Jelmer
3b3cf416f3
Merge pull request #4930 from foarsitter/py312
...
Upgrade Python to version 3.12
2024-03-19 10:41:04 +01:00
Shayan Karimi
a1d34a08af
Split the docs from local.yml and build the service in CI ( #4909 )
...
* Split the docs from local.yml and build the service in CI
* Change docs build in our CI docker tests
2024-03-18 19:26:18 +00:00
Jelmer Draaijer
b488056b63
Upgrade Python to version 3.12
2024-03-18 20:07:24 +01:00
Paul Wulff
6237573637
Speed up CI pytest by 30%: Change ci.yml to only build images relevant for running pytest ( #4863 )
...
In order to run pytest we can constrain the build command to only build the images related to the django service.
This mainly prevents the docs image from being built unnecessarily.
This cuts run time of the Github Actions workflow from approx. 4min 30s to below 3min.
2024-02-16 09:55:24 +00:00
dependabot[bot]
b2c2eedb6d
Bump actions/checkout from 3 to 4 ( #4565 )
...
* Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Bump actions/checkout from 3 to 4
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2023-09-06 20:40:35 +01:00
Imran Rahman
f567b5f685
update docs docker-compose -> docker compose ( #4463 )
...
Co-authored-by: Imran Rahman <imranrahman.ix@gmail.com>
2023-07-24 10:42:51 +01:00
Andrew Chen Wang
c5940219c7
Fix PostgreSQL version in GitHub workflow ( #4423 )
2023-06-28 23:35:50 +01:00
Bruno Alla
0dcc4c4b4c
Add more pre-commit hooks ( #4266 )
...
* Add more hooks from pre-commit-hooks repo
* Add pre-commit hook for prettier
* Format with prettier
* Remove check-docstring-first hook
* Run prettier in the template
* Tweak formatting of dependabot file
* Fix formatting of GitHub files for prettier
* More format fixes of ci.yml
2023-04-15 12:15:15 +01:00
Jelmer
42c30dafcb
Upgrade Python to version 3.11 (Faster CPython) ( #4256 )
...
* Upgrade Python to version 3.11 (Faster CPython)
* Update pyupgrade config for Python 3.11
* Update tox env to Python 3.11
* Update to latest Python 3.11.3
* Add a note about lack of support in PythonAnywhere
* Rephrase note
* Fix casing
---------
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-04-15 11:42:33 +01:00
Bruno Alla
d90f16b647
Pin base Python Docker images to bugfix ( #4194 )
...
* Pin base Python Docker images to bugfix
Fix #1810
* Skip major & minor versions of Docker images in Dependabot
* Remove argument for docs Docker image
* Update Dependabot config of generated project
2023-03-16 16:05:02 +00:00
Delphine LEMIRE
4e649af5f0
Disable caching for linter job on GitHub actions ( #4166 )
...
* FIX: Uptade Template ci.yml linter requirements
* Disable unused cache for lint job
---------
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2023-02-25 11:31:07 +00:00
Delphine LEMIRE
95e7300604
Update version of github actions on the template project ( #4167 )
2023-02-17 10:42:02 -03:00
Bruno Alla
0fe1fb9ca1
Remove unused pip cache paths in GHA & add a note for pre-commit.ci ( #4151 )
...
* Remove unused pip caching paths in GHA
* Add note about pre-commit.ci for open source
2023-02-09 21:56:57 +00:00
Jelmer
4ea0e98f3f
Upgrade Python version from 3.9 to 3.10 ( #3913 )
2022-10-24 21:41:00 +01:00
Bruno Alla
ab4a32d558
Unify compressor, gulp and custom bootstrap options ( #3535 )
2022-03-20 15:00:40 +00:00
Bruno Alla
a1105457aa
Upgrade actions/setup-python to v3 ( #3621 )
2022-03-03 22:21:04 +00:00
dependabot[bot]
3eaeb83760
Bump actions/checkout from 2 to 3 ( #3619 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2022-03-02 09:17:47 +00:00
Bruno Alla
7e444e6aa4
Cancel previous CI runs on successive PR pushes with GitHub actions ( #3575 )
2022-02-21 22:50:19 +00:00
Bruno Alla
528a40989f
Fix cache dependency path for linter job in CI workflow ( #3520 )
...
* Fix cache dependency path for linter jon in CI workflow
* Reduce potential stylistic issues
* Reduce more potential stylistic issues
2022-01-07 22:26:56 +00:00
Bruno Alla
e99120d87d
Fix typo and trailing whitespaces
2022-01-04 17:49:40 +00:00
Bruno Alla
a93773ac39
Use built-in pip caching from actions/setup-python in generated project ( #3481 )
2021-12-22 21:52:45 +00:00
mpoli
ea18a8f54e
Add docker, pip and npm to GitHub's Dependabot ( #3401 )
...
Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
Co-authored-by: Bruno Alla <alla.brunoo@gmail.com>
2021-12-07 19:47:43 +00:00
Zach Borboa
da74187c58
Clean up whitespace ( #3430 )
2021-11-22 09:26:08 +00:00
mpoli
6ca4cc9ca2
Bump pre-commit/action to 2.0.3 ( #3426 )
2021-11-20 16:58:57 +00:00
Andrew Chen Wang
c0a6157373
Use major version 6 without minor
2021-08-12 09:18:19 -04:00
Andrew-Chen-Wang
391874b426
Add Redis 6 support
2021-07-05 16:37:35 -04:00
Bruno Alla
9e7320ea1b
Merge branch 'master' into fix_upgrade_py39
...
# Conflicts:
# README.rst
# {{cookiecutter.project_slug}}/.gitlab-ci.yml
# {{cookiecutter.project_slug}}/compose/local/django/Dockerfile
# {{cookiecutter.project_slug}}/compose/production/django/Dockerfile
2021-04-08 18:43:54 +01:00
Bruno Alla
d999846ca2
Fix Github CI with Docker
2021-03-02 20:11:15 +00:00
Bruno Alla
c3ee08fbb2
Tweak formatting of workflow file
2021-03-02 20:03:27 +00:00
Bruno Alla
c1ec7e3cd1
Add necessary services for GH actions without Docker
2021-03-02 20:03:14 +00:00
Bruno Alla
9793511266
Support both master and main branches
2021-03-02 19:48:26 +00:00
Arnav Choudhury
c988a6fbdc
Removed the step for installing dependencies
2021-02-23 19:20:17 +05:30
Arnav Choudhury
db636c8e36
Updated tests with the updated github stage names.
2021-02-23 11:11:03 +05:30
Arnav Choudhury
a4f1acf17e
Updated the github action to run all pre-commit hooks on all files in the linter stage so that there is only 1 place that is used to maange all code quality tools.
2021-02-23 10:59:30 +05:30
areski
a1d551d067
Update from Python3.8 to Python3.9
2021-01-26 16:13:27 +01:00
Fabio C. Barrionuevo da Luz
af1cfc82c6
Fix docker container stop command on github action
2021-01-18 18:05:22 -03:00
Arnav Choudhury
b064e09f12
Adding GitHub-Action CI Option ( #2837 )
2020-09-21 11:20:24 +01:00