Skip to content

TagSpaces is an offline, open source, document manager with tagging support

github workflow changes

stanimir2e070f18a547
diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml
index 8291e48ad..7d4b80503 100644
--- a/.github/workflows/pull_request.yml
+++ b/.github/workflows/pull_request.yml
@@ -62,6 +62,7 @@ jobs:
if: always() # Run regardless of whether other steps failed
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
+ check-name: Jest Report Electron
working-directory: tests
- uses: actions/upload-artifact@v2
if: failure()
@@ -115,6 +116,7 @@ jobs:
if: always() # Run regardless of whether other steps failed
with:
access-token: ${{ secrets.GITHUB_TOKEN }}
+ check-name: Jest Report Web
working-directory: tests
- uses: actions/upload-artifact@v2
if: failure()
diff --git a/.github/workflows/workflow_scheduled.yml b/.github/workflows/workflow_scheduled.yml
deleted file mode 100644
index 5f5c440eb..000000000
--- a/.github/workflows/workflow_scheduled.yml
+++ /dev/null
@@ -1,411 +0,0 @@
-name: scheduled workflow dispatch trigger
-on:
- schedule:
- - cron: '0 0 * * *'
-
-jobs:
- e2eTestsElectronWin:
- name: E2E Windows Electron
- runs-on: windows-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-beta
- 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-e2e-electron
- - uses: actions/upload-artifact@v2
- if: always()
- with:
- name: test-pages
- path: tests/test-pages/
-
- e2eTestsMinioWin:
- name: E2E Windows Minio
- 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-beta
- 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/windows-amd64/minio.exe'
- target: tests/bin/
- - 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/
-
- e2eTestsWebWin:
- name: E2E Windows Web
- 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-beta
- 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/windows-amd64/minio.exe'
- target: tests/bin/
- - 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-pages
- path: tests/test-pages/
-
- e2eTestsElectronMac:
- name: E2E Mac Electron
- runs-on: macos-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-beta
- 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-e2e-electron
- - uses: actions/upload-artifact@v2
- if: always()
- with:
- name: test-pages
- path: tests/test-pages/
-
- e2eTestsMinioMac:
- name: E2E Mac Minio
- runs-on: macos-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-beta
- 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/darwin-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/
-
- e2eTestsWebMac:
- name: E2E Mac Web
- runs-on: macos-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-beta
- 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/darwin-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-pages
- path: tests/test-pages/
-# 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-beta
-# 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-e2e-electron
-# - 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-beta
-# 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-beta
-# 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/
diff --git a/.github/workflows/workflow_scheduled_mac_electron.yml b/.github/workflows/workflow_scheduled_mac_electron.yml
new file mode 100644
index 000000000..0b0a4e684
--- /dev/null
+++ b/.github/workflows/workflow_scheduled_mac_electron.yml
@@ -0,0 +1,41 @@
+name: scheduled workflow dispatch trigger
+on:
+ schedule:
+ - cron: '0 3 * * *'
+
+jobs:
+ e2eTestsElectronMac:
+ name: E2E Mac Electron
+ runs-on: macos-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-beta
+ 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-e2e-electron
+ - uses: actions/upload-artifact@v2
+ if: always()
+ with:
+ name: test-pages
+ path: tests/test-pages/
diff --git a/.github/workflows/workflow_scheduled_mac_minio.yml b/.github/workflows/workflow_scheduled_mac_minio.yml
new file mode 100644
index 000000000..8ff6046cf
--- /dev/null
+++ b/.github/workflows/workflow_scheduled_mac_minio.yml
@@ -0,0 +1,55 @@
+name: scheduled workflow dispatch trigger
+on:
+ schedule:
+ - cron: '0 4 * * *'
+
+jobs:
+ e2eTestsMinioMac:
+ name: E2E Mac Minio
+ runs-on: macos-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-beta
+ 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/darwin-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/
diff --git a/.github/workflows/workflow_scheduled_mac_web.yml b/.github/workflows/workflow_scheduled_mac_web.yml
new file mode 100644
index 000000000..2d59919ea
--- /dev/null
+++ b/.github/workflows/workflow_scheduled_mac_web.yml
@@ -0,0 +1,55 @@
+name: scheduled workflow dispatch trigger
+on:
+ schedule:
+ - cron: '0 5 * * *'
+
+jobs:
+ e2eTestsWebMac:
+ name: E2E Mac Web
+ runs-on: macos-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-beta
+ 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/darwin-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-pages
+ path: tests/test-pages/
diff --git a/.github/workflows/workflow_scheduled_win_electron.yml b/.github/workflows/workflow_scheduled_win_electron.yml
new file mode 100644
index 000000000..1e236217f
--- /dev/null
+++ b/.github/workflows/workflow_scheduled_win_electron.yml
@@ -0,0 +1,177 @@
+name: scheduled workflow dispatch trigger
+on:
+ schedule:
+ - cron: '0 0 * * *'
+
+jobs:
+ e2eTestsElectronWin:
+ name: E2E Windows Electron
+ runs-on: windows-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-beta
+ 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-e2e-electron
+ - uses: actions/upload-artifact@v2
+ if: always()
+ with:
+ name: test-pages
+ path: tests/test-pages/
+# 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-beta
+# 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-e2e-electron
+# - 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-beta
+# 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-beta
+# 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/
diff --git a/.github/workflows/workflow_scheduled_win_minio.yml b/.github/workflows/workflow_scheduled_win_minio.yml
new file mode 100644
index 000000000..3fde1345e
--- /dev/null
+++ b/.github/workflows/workflow_scheduled_win_minio.yml
@@ -0,0 +1,54 @@
+name: scheduled workflow dispatch trigger
+on:
+ schedule:
+ - cron: '0 1 * * *'
+
+jobs:
+ e2eTestsMinioWin:
+ name: E2E Windows Minio
+ 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-beta
+ 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/windows-amd64/minio.exe'
+ target: tests/bin/
+ - 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/
diff --git a/.github/workflows/workflow_scheduled_win_web.yml b/.github/workflows/workflow_scheduled_win_web.yml
new file mode 100644
index 000000000..6f1cbc6f0
--- /dev/null
+++ b/.github/workflows/workflow_scheduled_win_web.yml
@@ -0,0 +1,54 @@
+name: scheduled workflow dispatch trigger
+on:
+ schedule:
+ - cron: '0 2 * * *'
+
+jobs:
+ e2eTestsWebWin:
+ name: E2E Windows Web
+ 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-beta
+ 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/windows-amd64/minio.exe'
+ target: tests/bin/
+ - 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-pages
+ path: tests/test-pages/