mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-18 22:32:32 +02:00
remove runs-on
from run-tests
This commit is contained in:
parent
60999130c8
commit
07a292217a
30
.github/workflows/tests.yml
vendored
30
.github/workflows/tests.yml
vendored
@ -15,8 +15,8 @@ on:
|
|||||||
types: [checks_requested]
|
types: [checks_requested]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
setup:
|
pre-test:
|
||||||
name: Checkout & node install
|
name: Run Pre-test
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
@ -27,27 +27,19 @@ jobs:
|
|||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
path: tests-action
|
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
working-directory: tests-action
|
working-directory: tests-action
|
||||||
run: npm ci
|
run: npm ci
|
||||||
|
|
||||||
pre-test:
|
|
||||||
name: Run Pre-test
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
needs: setup
|
|
||||||
steps:
|
|
||||||
- name: Run Pre-test
|
- name: Run Pre-test
|
||||||
working-directory: tests-action
|
working-directory: tests-action
|
||||||
run: npx vitest run --project pre ${{ runner.debug == '1' && '' || '--silent' }}
|
run: npx vitest run --project pre ${{ runner.debug == '1' && '' || '--silent' }}
|
||||||
|
|
||||||
# run-tests:
|
run-tests:
|
||||||
# name: Run Tests
|
name: Run Tests
|
||||||
# runs-on: ubuntu-latest
|
needs: pre-test
|
||||||
# needs: pre-test
|
strategy:
|
||||||
# strategy:
|
matrix:
|
||||||
# matrix:
|
project: [misc, abilities, items, moves, battle]
|
||||||
# project: [misc, abilities, items, moves, battle]
|
uses: ./.github/workflows/run-test-template.yml
|
||||||
# uses: ./.github/workflows/run-test-template.yml
|
with:
|
||||||
# with:
|
project: ${{ matrix.project }}
|
||||||
# project: ${{ matrix.project }}
|
|
Loading…
Reference in New Issue
Block a user