reset test
This commit is contained in:
parent
e88b7742c6
commit
92bc795d7a
3 changed files with 19 additions and 19 deletions
34
.github/workflows/tests.yml
vendored
34
.github/workflows/tests.yml
vendored
|
@ -108,22 +108,22 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
service:
|
service:
|
||||||
[
|
[
|
||||||
# Account,
|
Account,
|
||||||
# Avatars,
|
Avatars,
|
||||||
# Console,
|
Console,
|
||||||
Databases,
|
Databases,
|
||||||
# Functions,
|
Functions,
|
||||||
# GraphQL,
|
GraphQL,
|
||||||
# Health,
|
Health,
|
||||||
# Locale,
|
Locale,
|
||||||
# Projects,
|
Projects,
|
||||||
# Realtime,
|
Realtime,
|
||||||
# Storage,
|
Storage,
|
||||||
# Teams,
|
Teams,
|
||||||
# Users,
|
Users,
|
||||||
# Webhooks,
|
Webhooks,
|
||||||
# VCS,
|
VCS,
|
||||||
# Messaging,
|
Messaging,
|
||||||
]
|
]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -144,7 +144,7 @@ jobs:
|
||||||
sleep 25
|
sleep 25
|
||||||
|
|
||||||
- name: Run ${{matrix.service}} Tests
|
- name: Run ${{matrix.service}} Tests
|
||||||
run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --filter="testCreateDatabase|testTimeout" --debug
|
run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
|
||||||
|
|
||||||
- name: Run ${{matrix.service}} Shared Tables Tests
|
- name: Run ${{matrix.service}} Shared Tables Tests
|
||||||
run: _APP_DATABASE_SHARED_TABLES=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --filter="testCreateDatabase|testTimeout" --debug
|
run: _APP_DATABASE_SHARED_TABLES=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
|
||||||
|
|
|
@ -751,7 +751,7 @@ $register->set('pools', function () {
|
||||||
$group = new Group();
|
$group = new Group();
|
||||||
|
|
||||||
$fallbackForDB = 'db_main=' . AppwriteURL::unparse([
|
$fallbackForDB = 'db_main=' . AppwriteURL::unparse([
|
||||||
'scheme' => 'mysql',
|
'scheme' => 'mariadb',
|
||||||
'host' => System::getEnv('_APP_DB_HOST', 'mariadb'),
|
'host' => System::getEnv('_APP_DB_HOST', 'mariadb'),
|
||||||
'port' => System::getEnv('_APP_DB_PORT', '3306'),
|
'port' => System::getEnv('_APP_DB_PORT', '3306'),
|
||||||
'user' => System::getEnv('_APP_DB_USER', ''),
|
'user' => System::getEnv('_APP_DB_USER', ''),
|
||||||
|
|
|
@ -902,7 +902,7 @@ services:
|
||||||
- OPR_PROXY_HEALTHCHECK=enabled
|
- OPR_PROXY_HEALTHCHECK=enabled
|
||||||
|
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mysql:8.0.30 # fix issues when upgrading using: mysql_upgrade -u root -p
|
image: mariadb:10.11 # fix issues when upgrading using: mysql_upgrade -u root -p
|
||||||
container_name: appwrite-mariadb
|
container_name: appwrite-mariadb
|
||||||
<<: *x-logging
|
<<: *x-logging
|
||||||
networks:
|
networks:
|
||||||
|
|
Loading…
Reference in a new issue