From 0ad833eedbf51740fe134f1211a31f8fef3fb649 Mon Sep 17 00:00:00 2001 From: Abdullah Adeel Date: Fri, 21 Jan 2022 15:54:59 +0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20updated=20`ci.yml`=20-=20include?= =?UTF-8?q?=20multi=20database=20options=20for=20proj=20creation.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0180184fa..fb88f3334 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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