-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Run highest tests on all DB platforms for now (#5990)
* Run highest tests on all DB platforms for now * Add back sqlite * Put back exclude * Less exclude * Try only sqlite on highest * Add executor * Test highest on all DBMS
- Loading branch information
Showing
1 changed file
with
36 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,18 +37,23 @@ 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 | ||
environment: | ||
- 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:[email protected]/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 |