diff --git a/.github/workflows/run-test-template.yml b/.github/workflows/run-test-template.yml index a066faa23f5..e5c5d0a268a 100644 --- a/.github/workflows/run-test-template.yml +++ b/.github/workflows/run-test-template.yml @@ -6,9 +6,6 @@ on: project: required: true type: string - test_name: - required: true - type: string jobs: test: @@ -22,5 +19,5 @@ jobs: node-version: ${{ env.NODE_VERSION }} - name: Install Node.js dependencies run: npm ci - - name: Run tests + - name: Run ${{ inputs.project }} tests run: npx vitest --project ${{ inputs.project }} ${{ runner.debug == '1' && '' || '--silent' }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 15e5ce940cd..32083e36689 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -40,8 +40,6 @@ jobs: strategy: matrix: project: [misc, abilities, items, moves, battle] - test_name: [Misc Tests, Abilities Tests, Items Tests, Moves Tests, Battle Tests] - uses: ./.github/workflows/run-test-template.yml # run job defined in run-test-template.yml + uses: ./run-test-template.yml # run job defined in run-test-template.yml with: - project: ${{ matrix.project }} - test_name: ${{ matrix.test_name }} \ No newline at end of file + project: ${{ matrix.project }} \ No newline at end of file