[fix] Git actions now ignoring tags

This commit is contained in:
Georgii Petrov
2024-03-28 14:29:08 +03:00
parent f02884bea8
commit e6c59a4a25
6 changed files with 18 additions and 6 deletions

View File

@ -1,6 +1,8 @@
name: Dameng database tests
on:
push:
branches:
- '**'
paths:
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/damengConnector.js'
@ -45,4 +47,4 @@ jobs:
docker exec dameng bash -c "cat /createdb.sql | /opt/dmdbms/bin/disql SYSDBA/SYSDBA001:5236"
- name: Run Jest
run: npm run "integration database tests"
run: npm run "integration database tests"

View File

@ -1,6 +1,8 @@
name: MSSQL database tests
on:
push:
branches:
- '**'
paths:
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/mssqlConnector.js'
@ -45,4 +47,4 @@ jobs:
docker exec mssql /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P onlYoff1ce -i /createdb.sql
- name: Run Jest
run: npm run "integration database tests"
run: npm run "integration database tests"

View File

@ -1,6 +1,8 @@
name: MYSQL database tests
on:
push:
branches:
- '**'
paths:
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/mysqlConnector.js'
@ -42,4 +44,4 @@ jobs:
docker exec mysql mysql -h 127.0.0.1 -u root --password=onlyoffice -D onlyoffice -e 'source /createdb.sql'
- name: Run Jest
run: npm run "integration database tests"
run: npm run "integration database tests"

View File

@ -1,6 +1,8 @@
name: Oracle database tests
on:
push:
branches:
- '**'
paths:
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/oracleConnector.js'
@ -45,4 +47,4 @@ jobs:
docker exec oracle sqlplus -s onlyoffice/onlyoffice@//localhost/xepdb1 @/createdb.sql
- name: Run Jest
run: npm run "integration database tests"
run: npm run "integration database tests"

View File

@ -1,6 +1,8 @@
name: Postgre database tests
on:
push:
branches:
- '**'
paths:
- 'DocService/sources/databaseConnectors/baseConnector.js'
- 'DocService/sources/databaseConnectors/postgreConnector.js'
@ -42,4 +44,4 @@ jobs:
docker exec postgres psql -d onlyoffice -U onlyoffice -a -f /createdb.sql
- name: Run Jest
run: npm run "integration database tests"
run: npm run "integration database tests"

View File

@ -1,6 +1,8 @@
name: Service unit tests
on:
push:
branches:
- '**'
paths:
- '**.js'
- '!tests/integration/**'
@ -31,4 +33,4 @@ jobs:
npm --prefix DocService ci
- name: Run Jest
run: npm run "unit tests"
run: npm run "unit tests"