|
40 | 40 | test-handsontable-walkontable: ${{ steps.path-filter.outputs.test-handsontable-walkontable }} |
41 | 41 | test-handsontable-e2e: ${{ steps.path-filter.outputs.test-handsontable-e2e }} |
42 | 42 | test-handsontable-e2e-min: ${{ steps.path-filter.outputs.test-handsontable-e2e-min }} |
43 | | - test-angular: ${{ steps.path-filter.outputs.test-angular }} |
44 | 43 | test-angular-wrapper: ${{ steps.path-filter.outputs.test-angular-wrapper }} |
45 | | - test-react: ${{ steps.path-filter.outputs.test-react }} |
46 | 44 | test-react-wrapper: ${{ steps.path-filter.outputs.test-react-wrapper }} |
47 | | - test-vue: ${{ steps.path-filter.outputs.test-vue }} |
48 | 45 | test-vue3: ${{ steps.path-filter.outputs.test-vue3 }} |
49 | 46 | test-visual: ${{ steps.path-filter.outputs.test-visual }} |
50 | 47 | steps: |
@@ -99,21 +96,12 @@ jobs: |
99 | 96 | test-handsontable-e2e-min: |
100 | 97 | - *hot-shared |
101 | 98 | - *hot-e2e-test-shared |
102 | | - test-angular: |
103 | | - - *hot-shared |
104 | | - - 'wrappers/angular/**' |
105 | 99 | test-angular-wrapper: |
106 | 100 | - *hot-shared |
107 | 101 | - 'wrappers/angular-wrapper/**' |
108 | | - test-react: |
109 | | - - *hot-shared |
110 | | - - 'wrappers/react/**' |
111 | 102 | test-react-wrapper: |
112 | 103 | - *hot-shared |
113 | 104 | - 'wrappers/react-wrapper/**' |
114 | | - test-vue: |
115 | | - - *hot-shared |
116 | | - - 'wrappers/vue/**' |
117 | 105 | test-vue3: |
118 | 106 | - *hot-shared |
119 | 107 | - 'wrappers/vue3/**' |
@@ -541,45 +529,6 @@ jobs: |
541 | 529 | cd handsontable |
542 | 530 | npm run test:e2e.dump.esm-cjs && npm run test:e2e.dump --theme=main && npm run test:e2e.puppeteer |
543 | 531 |
|
544 | | - test-angular: |
545 | | - name: "[TEST] Wrapper: Angular" |
546 | | - runs-on: ubuntu-latest |
547 | | - needs: [ check-scope, build-handsontable-es-cjs ] |
548 | | - if: | |
549 | | - needs.check-scope.outputs.run-all == 'true' || |
550 | | - needs.check-scope.outputs.test-angular == 'true' |
551 | | - steps: |
552 | | - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # https://github.com/actions/checkout/releases/tag/v4.1.1 |
553 | | - |
554 | | - - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 |
555 | | - name: Install pnpm |
556 | | - |
557 | | - - name: Use Node.js |
558 | | - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # https://github.com/actions/setup-node/releases/tag/v4.4.0 |
559 | | - with: |
560 | | - node-version-file: '.nvmrc' |
561 | | - cache: 'pnpm' |
562 | | - - run: pnpm install && pnpm -r rebuild |
563 | | - |
564 | | - - name: Download the Handsontable build artifact |
565 | | - uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # https://github.com/actions/download-artifact/releases/tag/v4.1.3 |
566 | | - with: |
567 | | - name: handsontable-build-es-cjs |
568 | | - path: ./ |
569 | | - - run: tar -zxf tmp.tar.gz ./handsontable/tmp && rm tmp.tar.gz |
570 | | - - run: cd handsontable |
571 | | - - run: npm run in angular build |
572 | | - - run: tar --exclude='node_modules' -zcf angular.tar.gz ./wrappers/angular |
573 | | - |
574 | | - - name: Upload the Angular build artifact |
575 | | - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # https://github.com/actions/upload-artifact/releases/tag/v4.3.1 |
576 | | - with: |
577 | | - name: angular-build |
578 | | - path: angular.tar.gz |
579 | | - |
580 | | - - name: Test |
581 | | - run: npm run in angular test:ci |
582 | | - |
583 | 532 | test-angular-wrapper: |
584 | 533 | name: "[TEST] Wrapper: Angular (modern)" |
585 | 534 | runs-on: ubuntu-latest |
@@ -619,44 +568,6 @@ jobs: |
619 | 568 | - name: Test |
620 | 569 | run: npm run in angular-wrapper test:ci |
621 | 570 |
|
622 | | - test-react: |
623 | | - name: "[TEST] Wrapper: React" |
624 | | - runs-on: ubuntu-latest |
625 | | - needs: [ check-scope, build-handsontable-es-cjs ] |
626 | | - if: | |
627 | | - needs.check-scope.outputs.run-all == 'true' || |
628 | | - needs.check-scope.outputs.test-react == 'true' |
629 | | - steps: |
630 | | - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # https://github.com/actions/checkout/releases/tag/v4.1.1 |
631 | | - |
632 | | - - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 |
633 | | - name: Install pnpm |
634 | | - |
635 | | - - name: Use Node.js |
636 | | - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # https://github.com/actions/setup-node/releases/tag/v4.4.0 |
637 | | - with: |
638 | | - node-version-file: '.nvmrc' |
639 | | - cache: 'pnpm' |
640 | | - - run: pnpm install && pnpm -r rebuild |
641 | | - |
642 | | - - name: Download the Handsontable build artifact |
643 | | - uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # https://github.com/actions/download-artifact/releases/tag/v4.1.3 |
644 | | - with: |
645 | | - name: handsontable-build-es-cjs |
646 | | - path: ./ |
647 | | - - run: tar -zxf tmp.tar.gz ./handsontable/tmp && rm tmp.tar.gz |
648 | | - - run: cd handsontable |
649 | | - - run: npm run in react build |
650 | | - - run: tar --exclude='node_modules' -zcf react.tar.gz ./wrappers/react |
651 | | - |
652 | | - - name: Upload the React build artifact |
653 | | - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # https://github.com/actions/upload-artifact/releases/tag/v4.3.1 |
654 | | - with: |
655 | | - name: react-build |
656 | | - path: react.tar.gz |
657 | | - - name: Test |
658 | | - run: npm run in react test |
659 | | - |
660 | 571 | test-react-wrapper: |
661 | 572 | name: "[TEST] Wrapper: React (functional)" |
662 | 573 | runs-on: ubuntu-latest |
@@ -695,44 +606,6 @@ jobs: |
695 | 606 | - name: Test |
696 | 607 | run: npm run in react-wrapper test |
697 | 608 |
|
698 | | - test-vue: |
699 | | - name: "[TEST] Wrapper: Vue" |
700 | | - runs-on: ubuntu-latest |
701 | | - needs: [ check-scope, build-handsontable-es-cjs ] |
702 | | - if: | |
703 | | - needs.check-scope.outputs.run-all == 'true' || |
704 | | - needs.check-scope.outputs.test-vue == 'true' |
705 | | - steps: |
706 | | - - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # https://github.com/actions/checkout/releases/tag/v4.1.1 |
707 | | - |
708 | | - - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0 |
709 | | - name: Install pnpm |
710 | | - |
711 | | - - name: Use Node.js |
712 | | - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # https://github.com/actions/setup-node/releases/tag/v4.4.0 |
713 | | - with: |
714 | | - node-version-file: '.nvmrc' |
715 | | - cache: 'pnpm' |
716 | | - - run: pnpm install && pnpm -r rebuild |
717 | | - |
718 | | - - name: Download the Handsontable build artifact |
719 | | - uses: actions/download-artifact@87c55149d96e628cc2ef7e6fc2aab372015aec85 # https://github.com/actions/download-artifact/releases/tag/v4.1.3 |
720 | | - with: |
721 | | - name: handsontable-build-es-cjs |
722 | | - path: ./ |
723 | | - - run: tar -zxf tmp.tar.gz ./handsontable/tmp && rm tmp.tar.gz |
724 | | - - run: cd handsontable |
725 | | - - run: npm run in vue build |
726 | | - - run: tar --exclude='node_modules' -zcf vue.tar.gz ./wrappers/vue |
727 | | - |
728 | | - - name: Upload the Vue2 build artifact |
729 | | - uses: actions/upload-artifact@5d5d22a31266ced268874388b861e4b58bb5c2f3 # https://github.com/actions/upload-artifact/releases/tag/v4.3.1 |
730 | | - with: |
731 | | - name: vue-build |
732 | | - path: vue.tar.gz |
733 | | - - name: Test |
734 | | - run: npm run in vue test |
735 | | - |
736 | 609 | test-vue3: |
737 | 610 | name: "[TEST] Wrapper: Vue3" |
738 | 611 | runs-on: ubuntu-latest |
@@ -781,23 +654,17 @@ jobs: |
781 | 654 | - test-handsontable-e2e-min-main |
782 | 655 | - test-handsontable-e2e-min-horizon |
783 | 656 | - test-handsontable-e2e-min-classic |
784 | | - - test-angular |
785 | 657 | - test-angular-wrapper |
786 | | - - test-react |
787 | 658 | - test-react-wrapper |
788 | | - - test-vue |
789 | 659 | - test-vue3 |
790 | 660 | if: | |
791 | 661 | !failure() && !cancelled() && ( |
792 | 662 | needs.test-handsontable-e2e-main.result == 'success' || |
793 | 663 | needs.test-handsontable-e2e-classic.result == 'success' || |
794 | 664 | needs.test-handsontable-e2e-min-main.result == 'success' || |
795 | 665 | needs.test-handsontable-e2e-min-classic.result == 'success' || |
796 | | - needs.test-angular.result == 'success' || |
797 | 666 | needs.test-angular-wrapper.result == 'success' || |
798 | | - needs.test-react.result == 'success' || |
799 | 667 | needs.test-react-wrapper.result == 'success' || |
800 | | - needs.test-vue.result == 'success' || |
801 | 668 | needs.test-vue3.result == 'success' || |
802 | 669 | needs.check-scope.outputs.test-visual == 'true' |
803 | 670 | ) |
|
0 commit comments