mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 14:22:19 +02:00
test running with file include path
This commit is contained in:
parent
75076791d7
commit
21cd4f5197
2
.github/workflows/run-test-template.yml
vendored
2
.github/workflows/run-test-template.yml
vendored
@ -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' || '' }}
|
||||
|
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -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 }}
|
Loading…
Reference in New Issue
Block a user