From c71710c344de55feca19ef59dd9ee2b414bbb2f3 Mon Sep 17 00:00:00 2001 From: Georgii Petrov Date: Thu, 28 Mar 2024 14:29:08 +0300 Subject: [PATCH] [fix] Git actions now ignoring tags --- .github/workflows/damengDatabaseTests.yml | 4 +++- .github/workflows/mssqlDatabaseTests.yml | 4 +++- .github/workflows/mysqlDatabaseTests.yml | 4 +++- .github/workflows/oracleDatabaseTests.yml | 4 +++- .github/workflows/postgreDatabaseTests.yml | 4 +++- .github/workflows/unitTests.yml | 4 +++- 6 files changed, 18 insertions(+), 6 deletions(-) diff --git a/.github/workflows/damengDatabaseTests.yml b/.github/workflows/damengDatabaseTests.yml index e9ac6aa2..ed465672 100644 --- a/.github/workflows/damengDatabaseTests.yml +++ b/.github/workflows/damengDatabaseTests.yml @@ -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" \ No newline at end of file + run: npm run "integration database tests" diff --git a/.github/workflows/mssqlDatabaseTests.yml b/.github/workflows/mssqlDatabaseTests.yml index 95a311f8..0529401f 100644 --- a/.github/workflows/mssqlDatabaseTests.yml +++ b/.github/workflows/mssqlDatabaseTests.yml @@ -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" \ No newline at end of file + run: npm run "integration database tests" diff --git a/.github/workflows/mysqlDatabaseTests.yml b/.github/workflows/mysqlDatabaseTests.yml index e84418e6..3d4e8f18 100644 --- a/.github/workflows/mysqlDatabaseTests.yml +++ b/.github/workflows/mysqlDatabaseTests.yml @@ -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" \ No newline at end of file + run: npm run "integration database tests" diff --git a/.github/workflows/oracleDatabaseTests.yml b/.github/workflows/oracleDatabaseTests.yml index 27b65d07..be6a37a4 100644 --- a/.github/workflows/oracleDatabaseTests.yml +++ b/.github/workflows/oracleDatabaseTests.yml @@ -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" \ No newline at end of file + run: npm run "integration database tests" diff --git a/.github/workflows/postgreDatabaseTests.yml b/.github/workflows/postgreDatabaseTests.yml index 5ebf66b6..5df3d7c5 100644 --- a/.github/workflows/postgreDatabaseTests.yml +++ b/.github/workflows/postgreDatabaseTests.yml @@ -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" \ No newline at end of file + run: npm run "integration database tests" diff --git a/.github/workflows/unitTests.yml b/.github/workflows/unitTests.yml index bdef3f3c..e1d0d2b6 100644 --- a/.github/workflows/unitTests.yml +++ b/.github/workflows/unitTests.yml @@ -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" \ No newline at end of file + run: npm run "unit tests"