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