🔧 updated ci.yml - include multi database options for proj creation.

This commit is contained in:
Abdullah Adeel 2022-01-21 15:54:59 +05:00
parent b1e86eec17
commit 0ad833eedb

View File

@ -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