From 972897faf7fb0b03caa646e4eef12032777be356 Mon Sep 17 00:00:00 2001 From: Michael Drury Date: Tue, 28 Mar 2023 00:33:46 +0100 Subject: [PATCH] Splitting server tests out to run separately to main lerna thread. --- .github/workflows/budibase_ci.yml | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml index a920ec0e2f..f64000685d 100644 --- a/.github/workflows/budibase_ci.yml +++ b/.github/workflows/budibase_ci.yml @@ -56,7 +56,7 @@ jobs: run: yarn install:pro $BRANCH $BASE_BRANCH - run: yarn - run: yarn bootstrap - - run: yarn test + - run: yarn test:ci - uses: codecov/codecov-action@v3 with: token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos diff --git a/package.json b/package.json index 815e470916..852cb3d20d 100644 --- a/package.json +++ b/package.json @@ -45,6 +45,7 @@ "dev:noserver": "yarn run kill-builder && lerna link && lerna run dev:stack:up && lerna run --parallel dev:builder --concurrency 1 --ignore @budibase/backend-core --ignore @budibase/server --ignore @budibase/worker", "dev:server": "yarn run kill-server && lerna run --parallel dev:builder --concurrency 1 --scope @budibase/backend-core --scope @budibase/worker --scope @budibase/server", "test": "lerna run test", + "test:ci": "lerna run test --ignore @budibase/server && cd packages/server && yarn test", "test:pro": "bash scripts/pro/test.sh", "lint:eslint": "eslint packages && eslint qa-core", "lint:prettier": "prettier --check \"packages/**/*.{js,ts,svelte}\" && prettier --write \"examples/**/*.{js,ts,svelte}\" && prettier --check \"qa-core/**/*.{js,ts,svelte}\"",