mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 14:22:19 +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
|
||||
|
||||
env:
|
||||
VITEST_OPTIONS: ${{ runner.debug && '' || '--silent' }}
|
||||
|
||||
on:
|
||||
# Trigger the workflow on push or pull request,
|
||||
# but only for the main branch
|
||||
@ -35,7 +32,7 @@ jobs:
|
||||
run: npm ci
|
||||
- name: Run Pre-test
|
||||
working-directory: tests-action
|
||||
run: npx vitest run --project pre $VITEST_OPTIONS
|
||||
run: npx vitest run --project pre ${{ !runner.debug && '--silent' }}
|
||||
|
||||
run-tests:
|
||||
name: Run Tests
|
||||
@ -46,4 +43,4 @@ jobs:
|
||||
uses: ./.github/workflows/run-test-template.yml
|
||||
with:
|
||||
project: ${{ matrix.project }}
|
||||
options: $VITEST_OPTIONS
|
||||
options: ${{ !runner.debug && '--silent' }}
|
Loading…
Reference in New Issue
Block a user