mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-18 02:44:51 +03:00
🔧 updated ci.yml
- include multi database options for proj creation.
This commit is contained in:
parent
b1e86eec17
commit
0ad833eedb
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
|
@ -44,9 +44,9 @@ jobs:
|
|||
matrix:
|
||||
script:
|
||||
- name: Basic
|
||||
args: ""
|
||||
args: "database_engine=postgresql database_version=postgresql@14.1"
|
||||
- name: Extended
|
||||
args: "use_celery=y use_drf=y js_task_runner=Gulp"
|
||||
args: "use_celery=y use_drf=y js_task_runner=Gulp database_engine=postgresql database_version=postgresql@14.1"
|
||||
|
||||
name: "${{ matrix.script.name }} Docker"
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -71,9 +71,12 @@ jobs:
|
|||
matrix:
|
||||
script:
|
||||
- name: With Celery
|
||||
args: "use_celery=y use_compressor=y"
|
||||
args: "use_celery=y use_compressor=y database_engine=postgresql database_version=postgresql@14.1"
|
||||
# postgres://user:password@host:port/database
|
||||
database_url: "postgres://postgres:postgres@localhost:5432/postgres"
|
||||
- name: With Gulp
|
||||
args: "js_task_runner=Gulp custom_bootstrap_compilation=y"
|
||||
args: "js_task_runner=Gulp custom_bootstrap_compilation=y database_engine=postgresql database_version=postgresql@14.1"
|
||||
database_url: "postgres://postgres:postgres@localhost:5432/postgres"
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
name: "${{ matrix.script.name }} Bare metal"
|
||||
|
@ -91,8 +94,7 @@ jobs:
|
|||
|
||||
env:
|
||||
CELERY_BROKER_URL: "redis://localhost:6379/0"
|
||||
# postgres://user:password@host:port/database
|
||||
DATABASE_URL: "postgres://postgres:postgres@localhost:5432/postgres"
|
||||
DATABASE_URL: ${{ matrix.script.database_url }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
|
|
Loading…
Reference in New Issue
Block a user