TagSpaces is an offline, open source, document manager with tagging support
github workflow changes
Stanimir008b28d24f16
diff --git a/.github/workflows/workflow_dispatch.yml b/.github/workflows/workflow_dispatch.ymlindex 6c54191ed..3bb2efb31 100644--- a/.github/workflows/workflow_dispatch.yml+++ b/.github/workflows/workflow_dispatch.yml@@ -3,9 +3,9 @@ on:workflow_dispatch:inputs:command:- description: 'Command to execute e2e tests default: yarn test-e2e-electron-minio'+ description: 'Command to execute e2e tests default: yarn test-playwright-web-headless'required: true- default: 'test-e2e-electron-minio'+ default: 'test-playwright-web-headless'jobs:e2eTests:diff --git a/.github/workflows/workflow_scheduled_mac_electron.yml.disabled b/.github/workflows/workflow_scheduled_mac_electron.ymlsimilarity index 64%rename from .github/workflows/workflow_scheduled_mac_electron.yml.disabledrename to .github/workflows/workflow_scheduled_mac_electron.ymlindex 2bae469ed..f1adca51d 100644--- a/.github/workflows/workflow_scheduled_mac_electron.yml.disabled+++ b/.github/workflows/workflow_scheduled_mac_electron.yml@@ -1,11 +1,11 @@-name: scheduled workflow dispatch trigger+name: Nightly E2E Tests Electon MacOSon:schedule:- cron: '0 3 * * *'jobs:e2eTestsElectronMac:- name: E2E Mac Electron+ name: Test Desktop App Macruns-on: macos-lateststeps:- name: Checking out default branch@@ -33,9 +33,17 @@ jobs:yarn install-extyarn build-mainyarn build-e2e- yarn test-e2e-electron+ yarn test-playwright+ - uses: IgnusG/[email protected]+ if: always() # Run regardless of whether other steps failed+ with:+ access-token: ${{ secrets.GITHUB_TOKEN }}+ check-name: Report Desktop App Windows+ working-directory: tests- uses: actions/upload-artifact@v2- if: always()+ if: failure()with:- name: test-pages- path: tests/test-pages/+ name: test-artifacts+ path: |+ tests/test-pages/+ tests/test-reports/diff --git a/.github/workflows/workflow_scheduled_mac_web.yml.disabled b/.github/workflows/workflow_scheduled_mac_web.ymlsimilarity index 71%rename from .github/workflows/workflow_scheduled_mac_web.yml.disabledrename to .github/workflows/workflow_scheduled_mac_web.ymlindex 14749d6d6..45de7c370 100644--- a/.github/workflows/workflow_scheduled_mac_web.yml.disabled+++ b/.github/workflows/workflow_scheduled_mac_web.yml@@ -1,11 +1,11 @@-name: scheduled workflow dispatch trigger+name: Nightly E2E Tests Web Minio MacOSon:schedule:- cron: '0 5 * * *'jobs:e2eTestsWebMac:- name: E2E Mac Web+ name: Test Web App MacOSruns-on: macos-lateststeps:- name: Checking out default branch@@ -36,7 +36,7 @@ jobs:run: yarn test-unit- uses: suisei-cn/actions-download-file@v1id: minio- name: Download the Minio.exe+ name: Download the Miniowith:url: 'https://dl.min.io/server/minio/release/darwin-amd64/minio'target: tests/bin/@@ -47,9 +47,17 @@ jobs:yarn install-extyarn build-mainyarn build-e2e- yarn test-e2e-web+ yarn test-playwright-web-headless+ - uses: IgnusG/[email protected]+ if: always() # Run regardless of whether other steps failed+ with:+ access-token: ${{ secrets.GITHUB_TOKEN }}+ check-name: Report Web App Windows+ working-directory: tests- uses: actions/upload-artifact@v2- if: always()+ if: failure()with:- name: test-pages- path: tests/test-pages/+ name: test-artifacts+ path: |+ tests/test-pages/+ tests/test-reports/diff --git a/.github/workflows/workflow_scheduled_win_electron_pro.yml b/.github/workflows/workflow_scheduled_win_electron_pro.ymlnew file mode 100644index 000000000..d00442f22--- /dev/null+++ b/.github/workflows/workflow_scheduled_win_electron_pro.yml@@ -0,0 +1,192 @@+name: Nightly E2E Tests Electon Windows Pro+on:+ schedule:+ - cron: '0 0 * * *'++jobs:+ e2eTestsElectronWin:+ name: Test Desktop App Windows Pro+ runs-on: windows-latest++ steps:+ - name: Checking out default branch+ uses: actions/checkout@v2+ with:+ ref: develop+ submodules: true+ - name: Checkout TagspacesPro+ uses: actions/checkout@v2+ with:+ repository: tagspaces/tagspacespro+ token: ${{ secrets.CHECKOUT_TSPRO }}+ path: extensions/tagspacespro+ - name: Checkout TestData+ uses: actions/checkout@v2+ with:+ repository: tagspaces/testdata+ path: tests/testdata+ - uses: actions/setup-node@v2+ with:+ node-version: '12.x'+ - name: Running yarn install, prettier and type checks+ run: |+ yarn install --check-files --cache-folder .ycache+ yarn prettier-check+ yarn type-check+ - name: Run Unit tests+ run: yarn test-unit+ - name: Run Electron tests+ run: |+ yarn install-ext+ yarn build-main+ yarn build-e2e+ yarn test-playwright+ - uses: IgnusG/[email protected]+ if: always() # Run regardless of whether other steps failed+ with:+ access-token: ${{ secrets.GITHUB_TOKEN }}+ check-name: Report Desktop App Windows Pro+ working-directory: tests+ - uses: actions/upload-artifact@v2+ if: failure()+ with:+ name: test-artifacts+ path: |+ tests/test-pages/+ tests/test-reports/++# e2eTestsElectronUbuntu:+# name: E2E Ubuntu Electron+# runs-on: ubuntu-latest+# steps:+# - name: Checking out default branch+# uses: actions/checkout@v2+# with:+# ref: develop+# submodules: true+# - name: Checkout TestData+# uses: actions/checkout@v2+# with:+# repository: tagspaces/testdata+# path: tests/testdata+# - uses: actions/setup-node@v2+# with:+# node-version: '12.x'+# - name: Running yarn install, prettier and type checks+# run: |+# yarn install --check-files --cache-folder .ycache+# yarn prettier-check+# yarn type-check+# - name: Run Unit tests+# run: yarn test-unit+# - name: Run Electron tests+# run: |+# yarn install-ext+# yarn build-main+# yarn build-e2e+# yarn test-playwright+# - uses: actions/upload-artifact@v2+# if: always()+# with:+# name: test-pages+# path: tests/test-pages/++# e2eTestsMinioUbuntu:+# name: E2E Ubuntu Minio+# runs-on: ubuntu-latest+# steps:+# - name: Checking out default branch+# uses: actions/checkout@v2+# with:+# ref: develop+# submodules: true+# - name: Checkout TagspacesPro+# uses: actions/checkout@v2+# with:+# repository: tagspaces/tagspacespro+# token: ${{ secrets.CHECKOUT_TSPRO }}+# path: extensions/tagspacespro+# - name: Checkout TestData+# uses: actions/checkout@v2+# with:+# repository: tagspaces/testdata+# path: tests/testdata+# - uses: actions/setup-node@v2+# with:+# node-version: '12.x'+# - name: Running yarn install, prettier and type checks+# run: |+# yarn install --check-files --cache-folder .ycache+# yarn prettier-check+# yarn type-check+# - name: Run Unit tests+# run: yarn test-unit+# - uses: suisei-cn/actions-download-file@v1+# id: minio+# name: Download the Minio+# with:+# url: 'https://dl.min.io/server/minio/release/linux-amd64/minio'+# target: tests/bin/+# - name: Make the Minio executable+# run: chmod +x ./tests/bin/minio+# - name: Run Electron tests+# run: |+# yarn install-ext+# yarn build-main+# yarn build-e2e+# yarn test-e2e-electron-minio+# - uses: actions/upload-artifact@v2+# if: always()+# with:+# name: test-pages+# path: tests/test-pages/+#+# e2eTestsWebUbuntu:+# name: E2E Ubuntu Web+# runs-on: ubuntu-latest+# steps:+# - name: Checking out default branch+# uses: actions/checkout@v2+# with:+# ref: develop+# submodules: true+# - name: Checkout TagspacesPro+# uses: actions/checkout@v2+# with:+# repository: tagspaces/tagspacespro+# token: ${{ secrets.CHECKOUT_TSPRO }}+# path: extensions/tagspacespro+# - name: Checkout TestData+# uses: actions/checkout@v2+# with:+# repository: tagspaces/testdata+# path: tests/testdata+# - uses: actions/setup-node@v2+# with:+# node-version: '12.x'+# - name: Running yarn install, prettier and type checks+# run: |+# yarn install --check-files --cache-folder .ycache+# yarn prettier-check+# yarn type-check+# - name: Run Unit tests+# run: yarn test-unit+# - uses: suisei-cn/actions-download-file@v1+# id: minio+# name: Download the Minio.exe+# with:+# url: 'https://dl.min.io/server/minio/release/linux-amd64/minio'+# target: tests/bin/+# - name: Make the Minio executable+# run: chmod +x ./tests/bin/minio+# - name: Run Electron tests+# run: |+# yarn install-ext+# yarn build-main+# yarn build-e2e+# yarn test-e2e-web+# - uses: actions/upload-artifact@v2+# if: always()+# with:+# name: test-reports+# path: tests/test-reports/