From 94495320caf2e2e754c899b078c29f2e1296a109 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Tue, 10 Sep 2024 12:24:09 -0700 Subject: [PATCH] move 2nd ${{ !runner.debug && '--silent' }} check into test-template --- .github/workflows/run-test-template.yml | 2 +- .github/workflows/tests.yml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/run-test-template.yml b/.github/workflows/run-test-template.yml index 8c80aa83648..94af98f7866 100644 --- a/.github/workflows/run-test-template.yml +++ b/.github/workflows/run-test-template.yml @@ -23,4 +23,4 @@ jobs: - name: Install Node.js dependencies run: npm ci - name: Run ${{ inputs.project }} tests - run: npx vitest --project ${{ inputs.project }} ${{ inputs.options }} + run: npx vitest --project ${{ inputs.project }} ${{ !runner.debug && '--silent' }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 1a33f8ed018..0e5184252b2 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,5 +42,4 @@ jobs: project: [misc, abilities, items, moves, battle] uses: ./.github/workflows/run-test-template.yml with: - project: ${{ matrix.project }} - options: ${{ !runner.debug && '--silent' }} \ No newline at end of file + project: ${{ matrix.project }} \ No newline at end of file