mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
release/install-local-actions (#116)
Use local grunt and node-qunit-puppeteer
This commit is contained in:
102
.github/workflows/common_check.yml
vendored
102
.github/workflows/common_check.yml
vendored
@ -38,56 +38,56 @@ jobs:
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
npm install -g grunt-cli node-qunit-puppeteer
|
||||
npm install grunt-cli node-qunit-puppeteer
|
||||
npm install --prefix build
|
||||
grunt --gruntfile build/Gruntfile.js develop
|
||||
node-qunit-puppeteer tests/common/api/api.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/common/color-mods/color-mods.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/shortcuts/shortcuts.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/FormulaTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/PivotTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/CopyPasteTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/SheetStructureTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/autoFilterTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/UserProtectedRangesTest.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/FormulaTrace.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/GoalSeekTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/NumFormatParse.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/DataValidationTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/conditionalFormattingTests.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/ExternalReference.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/cell/spreadsheet-calculation/SheetMemoryTest.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/unit-tests/paragraphContentPos.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/unit-tests/deleted-text-recovery.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/content-control/block-level/cursorAndSelection.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/content-control/inline-level/checkbox.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/content-control/inline-level/cursorAndSelection.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/content-control/inline-level/date-time.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/floating-position/drawing.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/paragraph.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/table/correctBadTable.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/table/flowTablePosition.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/table/pageBreak.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/table/table-header.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/textShaper/textShaper.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/document-calculation/text-hyphenator/text-hyphenator.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/forms/forms.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/forms/complexForm.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/numbering/numberingApplicator.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/numbering/numberingCalculation.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/numbering/numberingAutocorrect.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/api/api.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/api/cross-ref.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/api/textInput.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/styles/displayStyle.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/styles/paraPr.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/styles/styleApplicator.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/text-autocorrection/as-you-type.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/plugins/pluginsApi.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/revisions/paragraph.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/merge-documents/mergeDocuments.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/word/shortcuts/shortcuts.html 30000 "--no-sandbox"
|
||||
node-qunit-puppeteer tests/slide/shortcuts/shortcuts.html 30000 "--no-sandbox"
|
||||
node node_modules/grunt-cli/bin/grunt --gruntfile build/Gruntfile.js develop
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/common/api/api.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/common/color-mods/color-mods.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/shortcuts/shortcuts.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/FormulaTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/PivotTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/CopyPasteTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/SheetStructureTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/autoFilterTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/UserProtectedRangesTest.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/FormulaTrace.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/GoalSeekTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/NumFormatParse.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/DataValidationTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/conditionalFormattingTests.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/ExternalReference.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/cell/spreadsheet-calculation/SheetMemoryTest.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/unit-tests/paragraphContentPos.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/unit-tests/deleted-text-recovery.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/block-level/cursorAndSelection.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/inline-level/checkbox.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/inline-level/cursorAndSelection.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/content-control/inline-level/date-time.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/floating-position/drawing.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/paragraph.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/correctBadTable.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/flowTablePosition.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/pageBreak.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/table/table-header.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/textShaper/textShaper.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/document-calculation/text-hyphenator/text-hyphenator.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/forms/forms.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/forms/complexForm.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/numbering/numberingApplicator.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/numbering/numberingCalculation.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/numbering/numberingAutocorrect.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/api/api.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/api/cross-ref.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/api/textInput.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/styles/displayStyle.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/styles/paraPr.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/styles/styleApplicator.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/text-autocorrection/as-you-type.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/plugins/pluginsApi.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/revisions/paragraph.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/merge-documents/mergeDocuments.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/word/shortcuts/shortcuts.html 30000 "--no-sandbox"
|
||||
node node_modules/node-qunit-puppeteer/cli.js tests/slide/shortcuts/shortcuts.html 30000 "--no-sandbox"
|
||||
builder-tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
@ -122,9 +122,9 @@ jobs:
|
||||
- name: Run builder tests
|
||||
run: |
|
||||
cd sdkjs
|
||||
npm install -g grunt-cli
|
||||
npm install grunt-cli
|
||||
npm install --prefix build
|
||||
grunt --level=WHITESPACE_ONLY --addon=sdkjs-forms --base build --gruntfile build/Gruntfile.js
|
||||
node node_modules/grunt-cli/bin/grunt --level=WHITESPACE_ONLY --addon=sdkjs-forms --base build --gruntfile build/Gruntfile.js
|
||||
docker run -v $PWD/deploy/sdkjs/common:/opt/onlyoffice/documentbuilder/sdkjs/common \
|
||||
-v $PWD/deploy/sdkjs/word:/opt/onlyoffice/documentbuilder/sdkjs/word \
|
||||
-v $PWD/deploy/sdkjs/cell:/opt/onlyoffice/documentbuilder/sdkjs/cell \
|
||||
|
||||
Reference in New Issue
Block a user