mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +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
|
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' || '' }}
|
||||||
|
10
.github/workflows/tests.yml
vendored
10
.github/workflows/tests.yml
vendored
@ -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 }}
|
Loading…
Reference in New Issue
Block a user