mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-19 03:14:52 +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:
|
matrix:
|
||||||
script:
|
script:
|
||||||
- name: Basic
|
- name: Basic
|
||||||
args: ""
|
args: "database_engine=postgresql database_version=postgresql@14.1"
|
||||||
- name: Extended
|
- 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"
|
name: "${{ matrix.script.name }} Docker"
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -71,9 +71,12 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
script:
|
script:
|
||||||
- name: With Celery
|
- 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
|
- 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
|
runs-on: ubuntu-latest
|
||||||
name: "${{ matrix.script.name }} Bare metal"
|
name: "${{ matrix.script.name }} Bare metal"
|
||||||
|
@ -91,8 +94,7 @@ jobs:
|
||||||
|
|
||||||
env:
|
env:
|
||||||
CELERY_BROKER_URL: "redis://localhost:6379/0"
|
CELERY_BROKER_URL: "redis://localhost:6379/0"
|
||||||
# postgres://user:password@host:port/database
|
DATABASE_URL: ${{ matrix.script.database_url }}
|
||||||
DATABASE_URL: "postgres://postgres:postgres@localhost:5432/postgres"
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user