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
- 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' || '' }}

View File

@ -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 }}