Skip to content

Commit

Permalink
[git actions] PR fixes, schema reversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Georgii Petrov committed Dec 5, 2023
1 parent ee570b3 commit 4e95947
Show file tree
Hide file tree
Showing 14 changed files with 4,261 additions and 7,469 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/damengDatabaseTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '14'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
Expand All @@ -45,4 +45,4 @@ jobs:
docker exec dameng bash -c "cat /createdb.sql | /opt/dmdbms/bin/disql SYSDBA/SYSDBA001:5236"
- name: Run Jest
run: npm exec -c 'cd ./DocService && jest databaseTests --inject-globals=false --config=../tests/jest.config.js'
run: npm run "integration database tests"
4 changes: 2 additions & 2 deletions .github/workflows/mssqlDatabaseTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '14'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
Expand All @@ -45,4 +45,4 @@ jobs:
docker exec mssql /opt/mssql-tools/bin/sqlcmd -S localhost -U sa -P onlYoff1ce -i /createdb.sql
- name: Run Jest
run: npm exec -c 'cd ./DocService && jest databaseTests --inject-globals=false --config=../tests/jest.config.js'
run: npm run "integration database tests"
4 changes: 2 additions & 2 deletions .github/workflows/mysqlDatabaseTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '14'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
Expand All @@ -42,4 +42,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 exec -c 'cd ./DocService && jest databaseTests --inject-globals=false --config=../tests/jest.config.js'
run: npm run "integration database tests"
4 changes: 2 additions & 2 deletions .github/workflows/oracleDatabaseTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '14'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
Expand All @@ -45,4 +45,4 @@ jobs:
docker exec oracle sqlplus -s onlyoffice/onlyoffice@//localhost/xepdb1 @/createdb.sql
- name: Run Jest
run: npm exec -c 'cd ./DocService && jest databaseTests --inject-globals=false --config=../tests/jest.config.js'
run: npm run "integration database tests"
4 changes: 2 additions & 2 deletions .github/workflows/postgreDatabaseTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '14'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
Expand All @@ -42,4 +42,4 @@ jobs:
docker exec postgres psql -d onlyoffice -U onlyoffice -a -f /createdb.sql
- name: Run Jest
run: npm exec -c 'cd ./DocService && jest databaseTests --inject-globals=false --config=../tests/jest.config.js'
run: npm run "integration database tests"
2 changes: 1 addition & 1 deletion .github/workflows/unitTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Caching dependencies
uses: actions/setup-node@v3
with:
node-version: '18'
node-version: '14'
cache: 'npm'
cache-dependency-path: |
./npm-shrinkwrap.json
Expand Down
Loading

0 comments on commit 4e95947

Please sign in to comment.