From 88920ccdd6eeee64be6c78adf71aed55fe7c2ec0 Mon Sep 17 00:00:00 2001 From: flx-sta <50131232+flx-sta@users.noreply.github.com> Date: Tue, 10 Sep 2024 12:13:11 -0700 Subject: [PATCH] not as an ENV but inside --- .github/workflows/tests.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c79e382f274..1a33f8ed018 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 \ No newline at end of file + options: ${{ !runner.debug && '--silent' }} \ No newline at end of file