Browse Source

fix: testing script for scheduler

Karol Sójko 3 years ago
parent
commit
49093923ca
2 changed files with 2 additions and 4 deletions
  1. 1 4
      .github/workflows/scheduler.release.dev.yml
  2. 1 0
      package.json

+ 1 - 4
.github/workflows/scheduler.release.dev.yml

@@ -13,9 +13,6 @@ on:
 
 jobs:
   test:
-    defaults:
-      run:
-        working-directory: packages/scheduler
     runs-on: ubuntu-latest
 
     steps:
@@ -24,7 +21,7 @@ jobs:
       with:
         node-version: '16.x'
     - run: yarn install
-    - run: yarn test
+    - run: yarn test:scheduler
 
   publish-aws-ecr:
     needs: test

+ 1 - 0
package.json

@@ -13,6 +13,7 @@
   "scripts": {
     "lint": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run lint",
     "test": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run test",
+    "test:scheduler": "yarn workspaces foreach -pt --verbose -R --from @standardnotes/scheduler-server run test",
     "clean": "yarn workspaces foreach -pt --parallel --jobs 10 --verbose run clean",
     "build:all": "yarn workspaces foreach -pt --verbose run build",
     "setup:env": "yarn workspaces foreach -pt --verbose run setup:env",