From bf886d1d7748070c1003b94bc421de3e2c14e05c Mon Sep 17 00:00:00 2001 From: Michal Checinski Date: Thu, 28 Jul 2022 12:14:03 +0200 Subject: [PATCH] Revert "Remove tests step to build pipelines" This reverts commit 497bd86620958252dfbd4ebe1d91ae7fd33c507d. --- .github/workflows/build-browser.yml | 12 ++++-------- .github/workflows/build-desktop.yml | 9 --------- .github/workflows/build-web.yml | 6 ------ 3 files changed, 4 insertions(+), 23 deletions(-) diff --git a/.github/workflows/build-browser.yml b/.github/workflows/build-browser.yml index d41b0673d9b..aae03489235 100644 --- a/.github/workflows/build-browser.yml +++ b/.github/workflows/build-browser.yml @@ -138,11 +138,10 @@ jobs: run: npm ci working-directory: ./ - - name: Build - run: npm run dist - - - name: Test - run: npm run test + - name: Build & Test + run: | + npm run dist + npm run test - name: Gulp run: gulp ci @@ -297,9 +296,6 @@ jobs: run: npm run dist:safari working-directory: apps/browser - - name: Run tests - run: npm run test - - name: Zip Safari build artifact run: | cd apps/browser/dist diff --git a/.github/workflows/build-desktop.yml b/.github/workflows/build-desktop.yml index 7add5475439..222cae49bdd 100644 --- a/.github/workflows/build-desktop.yml +++ b/.github/workflows/build-desktop.yml @@ -196,9 +196,6 @@ jobs: rustup target add x86_64-unknown-linux-musl npm run build:cross-platform - - name: Run tests - run: npm run test - - name: Build application run: npm run dist:lin @@ -320,9 +317,6 @@ jobs: path: apps/desktop/desktop_native/*.node key: rust-${{ runner.os }}-${{ hashFiles('apps/desktop/desktop_native/**/*') }} - - name: Run tests - run: npm run test - - name: Build Native Module if: steps.cache.outputs.cache-hit != 'true' working-directory: apps/desktop/desktop_native @@ -588,9 +582,6 @@ jobs: run: npm ci working-directory: ./ - - name: Run tests - run: npm run test - - name: Cache Native Module uses: actions/cache@48af2dc4a9e8278b89d7fa154b955c30c6aaab09 # v3.0.2 id: cache diff --git a/.github/workflows/build-web.yml b/.github/workflows/build-web.yml index ce18a82f1ee..6f3ffb1257c 100644 --- a/.github/workflows/build-web.yml +++ b/.github/workflows/build-web.yml @@ -94,9 +94,6 @@ jobs: - name: Install dependencies run: npm ci - - name: Run tests - run: npm run test - - name: Build OSS selfhost working-directory: apps/web run: | @@ -142,9 +139,6 @@ jobs: - name: Install dependencies run: npm ci - - name: Run tests - run: npm run test - - name: Build Cloud working-directory: apps/web run: |