mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Change where workflow is skipped
This commit is contained in:
parent
878c44db0b
commit
7f570a2004
5
.github/workflows/test-shard-template.yml
vendored
5
.github/workflows/test-shard-template.yml
vendored
@ -12,11 +12,16 @@ on:
|
||||
totalShards:
|
||||
required: true
|
||||
type: number
|
||||
skip:
|
||||
required: true
|
||||
type: boolean
|
||||
default: false
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Shard ${{ inputs.shard }} of ${{ inputs.totalShards }}
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ inputs.skip == 'false' }}
|
||||
steps:
|
||||
- name: Check out Git repository
|
||||
uses: actions/checkout@v4.2.2
|
||||
|
2
.github/workflows/tests.yml
vendored
2
.github/workflows/tests.yml
vendored
@ -31,7 +31,6 @@ jobs:
|
||||
run-tests:
|
||||
name: Run Tests
|
||||
needs: check-path-change-filter
|
||||
if: ${{ needs.changes.outputs.all == 'true'}}
|
||||
strategy:
|
||||
matrix:
|
||||
shard: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
|
||||
@ -40,3 +39,4 @@ jobs:
|
||||
project: main
|
||||
shard: ${{ matrix.shard }}
|
||||
totalShards: 10
|
||||
skip: ${{ needs.check-path-change-filter.outputs.all == 'false'}}
|
||||
|
Loading…
Reference in New Issue
Block a user