Skip to content

Commit

Permalink
Test batch commits
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-granados committed Sep 18, 2024
1 parent 404775e commit db9af0b
Showing 1 changed file with 9 additions and 18 deletions.
27 changes: 9 additions & 18 deletions .github/workflows/batch_rector.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,9 @@
name: Rector

on:
pull_request: null
push:

jobs:
no_batch_rector:

runs-on: ubuntu-latest

steps:
-
uses: actions/checkout@v4

-
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
coverage: none

- run: composer install --no-progress --ansi

- run: bin/rector process --ansi
batch_rector:
strategy:
matrix:
Expand All @@ -42,3 +25,11 @@ jobs:
- run: composer install --no-progress --ansi

- run: bin/rector process --batch-index=${{ strategy.job-index }} --batch-total=${{ strategy.job-total }} --ansi

-
uses: EndBug/add-and-commit@v9
with:
message: 'Rector Batch ${{ strategy.job-index }}'
author_name: 'GitHub Action <[email protected]>'
author_email: '[email protected]'
pull: '--autostash'

0 comments on commit db9af0b

Please sign in to comment.