mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
not as an ENV but inside
This commit is contained in:
parent
d7c8bb9a58
commit
88920ccdd6
7
.github/workflows/tests.yml
vendored
7
.github/workflows/tests.yml
vendored
@ -1,8 +1,5 @@
|
|||||||
name: Tests
|
name: Tests
|
||||||
|
|
||||||
env:
|
|
||||||
VITEST_OPTIONS: ${{ runner.debug && '' || '--silent' }}
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow on push or pull request,
|
# Trigger the workflow on push or pull request,
|
||||||
# but only for the main branch
|
# but only for the main branch
|
||||||
@ -35,7 +32,7 @@ jobs:
|
|||||||
run: npm ci
|
run: npm ci
|
||||||
- name: Run Pre-test
|
- name: Run Pre-test
|
||||||
working-directory: tests-action
|
working-directory: tests-action
|
||||||
run: npx vitest run --project pre $VITEST_OPTIONS
|
run: npx vitest run --project pre ${{ !runner.debug && '--silent' }}
|
||||||
|
|
||||||
run-tests:
|
run-tests:
|
||||||
name: Run Tests
|
name: Run Tests
|
||||||
@ -46,4 +43,4 @@ jobs:
|
|||||||
uses: ./.github/workflows/run-test-template.yml
|
uses: ./.github/workflows/run-test-template.yml
|
||||||
with:
|
with:
|
||||||
project: ${{ matrix.project }}
|
project: ${{ matrix.project }}
|
||||||
options: $VITEST_OPTIONS
|
options: ${{ !runner.debug && '--silent' }}
|
Loading…
Reference in New Issue
Block a user