From 21cd4f519773388511c54e62b940185bffb00154 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Tue, 10 Sep 2024 13:17:02 -0700 Subject: [PATCH] test running with file include path --- .github/workflows/run-test-template.yml | 2 +- .github/workflows/tests.yml | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/run-test-template.yml b/.github/workflows/run-test-template.yml index fe694382b76..e7b0a42ca63 100644 --- a/.github/workflows/run-test-template.yml +++ b/.github/workflows/run-test-template.yml @@ -22,5 +22,5 @@ jobs: node-version: 20 - name: Install Node.js dependencies run: npm ci - - name: Run ${{ inputs.project }} tests + - name: Run tests run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' || '' }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b46fe054913..685c5d24f08 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,11 +40,11 @@ jobs: strategy: matrix: project: - - misc - - abilities - - items - - moves - - battle + # - misc + - "src/test/abilities/**/*.{test,spec}.ts" + # - items + # - moves + # - battle uses: ./.github/workflows/run-test-template.yml with: project: ${{ matrix.project }} \ No newline at end of file