test running with file include path

This commit is contained in:
flx-sta 2024-09-10 13:17:02 -07:00
parent 75076791d7
commit 21cd4f5197
2 changed files with 6 additions and 6 deletions

View File

@ -22,5 +22,5 @@ jobs:
node-version: 20 node-version: 20
- name: Install Node.js dependencies - name: Install Node.js dependencies
run: npm ci run: npm ci
- name: Run ${{ inputs.project }} tests - name: Run tests
run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' || '' }} run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' || '' }}

View File

@ -40,11 +40,11 @@ jobs:
strategy: strategy:
matrix: matrix:
project: project:
- misc # - misc
- abilities - "src/test/abilities/**/*.{test,spec}.ts"
- items # - items
- moves # - moves
- battle # - battle
uses: ./.github/workflows/run-test-template.yml uses: ./.github/workflows/run-test-template.yml
with: with:
project: ${{ matrix.project }} project: ${{ matrix.project }}