From f911edf3c2acc5f69b65539a85c5746d3ba0362b Mon Sep 17 00:00:00 2001 From: lingbopro Date: Mon, 20 Jan 2025 20:51:26 +0800 Subject: [PATCH] ci: add test setup step for unit tests --- .github/workflows/reusable-test.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/reusable-test.yaml b/.github/workflows/reusable-test.yaml index a0b7021..bcc8ff4 100644 --- a/.github/workflows/reusable-test.yaml +++ b/.github/workflows/reusable-test.yaml @@ -51,6 +51,8 @@ jobs: with: name: build-result path: ./ + - name: Set up tests + run: pnpm test:setup - name: Run tests run: pnpm test test-coverage: @@ -79,6 +81,8 @@ jobs: with: name: build-result path: ./ + - name: Set up tests + run: pnpm test:setup - name: Run coverage tests run: pnpm test:coverage - name: Upload coverage report