mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Run in all table modes in parallel
This commit is contained in:
parent
3b19ef6b1e
commit
e626c2ad45
1 changed files with 10 additions and 2 deletions
12
.github/workflows/tests.yml
vendored
12
.github/workflows/tests.yml
vendored
|
|
@ -127,6 +127,11 @@ jobs:
|
|||
Messaging,
|
||||
Migrations
|
||||
]
|
||||
tables-mode: [
|
||||
Project,
|
||||
Shared-V1,
|
||||
Shared-V2,
|
||||
]
|
||||
|
||||
steps:
|
||||
- name: checkout
|
||||
|
|
@ -145,8 +150,11 @@ jobs:
|
|||
docker compose up -d
|
||||
sleep 30
|
||||
|
||||
- name: Run ${{matrix.service}} Tests
|
||||
run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
|
||||
- name: Run ${{ matrix.service }} tests with ${{ matrix.tables-mode }} table mode
|
||||
run: docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{ matrix.service }} --debug
|
||||
env:
|
||||
_APP_DATABASE_SHARED_TABLES: ${{ matrix.table_mode == 'Shared V1' || matrix.table_mode == 'Shared V2' && 'database_db_main' || '' }}
|
||||
_APP_DATABASE_SHARED_TABLES_V1: ${{ matrix.table_mode == 'Shared V1' && 'database_db_main' || '' }}
|
||||
|
||||
- name: Run ${{matrix.service}} Shared Tables V1 Tests
|
||||
run: _APP_DATABASE_SHARED_TABLES=database_db_main _APP_DATABASE_SHARED_TABLES_V1=database_db_main docker compose exec -T appwrite test /usr/src/code/tests/e2e/Services/${{matrix.service}} --debug
|
||||
|
|
|
|||
Loading…
Reference in a new issue