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