diff --git a/.circleci/config.yml b/.circleci/config.yml index f5dba3c781..449ea55487 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -37,6 +37,16 @@ commands: fi executors: + sqlite-lowest: + docker: + - image: wodby/php:$WODBY_TAG + environment: + - "UNISH_DB_URL=sqlite://localhost/:memory:?module=sqlite" + sqlite-highest: + docker: + - image: wodby/php:latest + environment: + - "UNISH_DB_URL=sqlite://localhost/:memory:?module=sqlite" mysql-lowest: docker: - image: wodby/php:$WODBY_TAG @@ -44,11 +54,6 @@ executors: - MYSQL_HOST=127.0.0.1 - UNISH_DB_URL=mysql://root:@127.0.0.1/unish_dev?module=mysql - image: cimg/mysql:5.7.38 - sqlite-lowest: - docker: - - image: wodby/php:$WODBY_TAG - environment: - - "UNISH_DB_URL=sqlite://localhost/:memory:?module=sqlite" mysql-highest: docker: - image: wodby/php:latest @@ -67,6 +72,17 @@ executors: POSTGRES_PASSWORD: unish POSTGRES_DB: unish_dev POSTGRES_USER: unish + postgres-highest: + docker: + - image: wodby/php:latest + environment: + - UNISH_DB_URL=pgsql://unish:unish@127.0.0.1/unish_dev?module=pgsql + - image: wodby/postgres:latest + environment: + POSTGRES_DB_EXTENSIONS: pg_trgm + POSTGRES_PASSWORD: unish + POSTGRES_DB: unish_dev + POSTGRES_USER: unish version: 2.1 jobs: @@ -161,21 +177,20 @@ workflows: <<: *poststeps matrix: parameters: - #sqlite removed pending https://github.com/wodby/php/issues/194 - dbms: [ mysql, postgres ] + dbms: [ mysql, postgres, sqlite ] suite: [integration, functional] release: [ lowest, highest ] - exclude: - # Only run highest test on mysql. Excluding each suite is unfortunate but needed. - - release: highest - dbms: sqlite - suite: integration - - release: highest - dbms: sqlite - suite: functional - - release: highest - dbms: postgres - suite: integration - - release: highest - dbms: postgres - suite: functional +# exclude: +# # Only run highest tests on sqlite. Excluding each suite is unfortunate but needed. +# - release: highest +# dbms: mysql +# suite: integration +# - release: highest +# dbms: mysql +# suite: functional +# - release: highest +# dbms: postgres +# suite: integration +# - release: highest +# dbms: postgres +# suite: functional