TagSpaces is an offline, open source, document manager with tagging support
scheduled tests - add download minio task for mac
Stanimir70baf0bc5499
diff --git a/.github/workflows/workflow_scheduled.yml b/.github/workflows/workflow_scheduled.ymlindex 2d309517a..e1e93fa15 100644--- a/.github/workflows/workflow_scheduled.yml+++ b/.github/workflows/workflow_scheduled.yml@@ -185,6 +185,12 @@ jobs:yarn type-check- name: Run Unit testsrun: 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: Run Electron testsrun: |yarn install-ext@@ -222,6 +228,12 @@ jobs:yarn type-check- name: Run Unit testsrun: 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: Run Electron testsrun: |yarn install-extdiff --git a/tests/setup-functions.js b/tests/setup-functions.jsindex ba827d778..c34b41a78 100644--- a/tests/setup-functions.js+++ b/tests/setup-functions.js@@ -17,7 +17,7 @@ export async function globalSetup() {export async function startMinio() {const winMinio = pathLib.resolve(__dirname, './bin/minio.exe');- const unixMinio = 'minio'; // TODO unix path+ const unixMinio = pathLib.resolve(__dirname, './bin/minio');const command = global.isWin ? winMinio : unixMinio;const minioProcess = await require('child_process').spawn(command, [