cypress tests

This commit is contained in:
SPRINX0\prochazka
2025-01-09 11:02:19 +01:00
parent 89fce420fa
commit e9c435c892
2 changed files with 77 additions and 22 deletions

View File

@@ -22,6 +22,17 @@ jobs:
- name: yarn install
run: |
yarn install
- name: Build packer dist for cypress
run: |
yarn prepare:packer
- name: yarn install cypress
run: |
cd e2e-tests
yarn install
- name: Run Cypress tests
run: |
cd e2e-tests
yarn test:local
- name: Integration tests
run: |
cd integration-tests
@@ -55,20 +66,20 @@ jobs:
result-file: packages/datalib/result.json
action-name: Datalib (perspectives) test results
services:
postgres:
postgres-integr:
image: postgres
env:
POSTGRES_PASSWORD: Pwd2020Db
options: '--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5'
ports:
- '15000:5432'
mysql:
mysql-integr:
image: 'mysql:8.0.18'
env:
MYSQL_ROOT_PASSWORD: Pwd2020Db
ports:
- '15001:3306'
mssql:
mssql-integr:
image: mcr.microsoft.com/mssql/server
env:
ACCEPT_EULA: 'Y'
@@ -76,21 +87,40 @@ jobs:
MSSQL_PID: Express
ports:
- '15002:1433'
clickhouse:
clickhouse-integr:
image: 'bitnami/clickhouse:24.8.4'
env:
CLICKHOUSE_ADMIN_PASSWORD: Pwd2020Db
ports:
- '15005:8123'
oracle:
oracle-integr:
image: 'gvenzl/oracle-xe:21-slim'
env:
ORACLE_PASSWORD: Pwd2020Db
ports:
- '15006:1521'
postgres-cypress:
image: postgres
options: '--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5'
environment:
POSTGRES_PASSWORD: Pwd2020Db
ports:
- '16000:5432'
mysql-cypress:
image: 'mysql:8.0.18'
ports:
- '16004:3306'
environment:
- MYSQL_ROOT_PASSWORD=Pwd2020Db
mysql-ssh-login:
image: 'ghcr.io/dbgate/mysql-ssh-login:latest'
ports:
- 960382
mysql-ssh-keyfile:
image: 'ghcr.io/dbgate/mysql-ssh-keyfile:latest'
ports:
- 960502
dex:
image: 'ghcr.io/dbgate/dex:latest'
ports:
- '16009:5556'