Skip to content

Commit

Permalink
Update itinerant_phpstan_and_phpunit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 14, 2024
1 parent 56fc691 commit 23e2fbc
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/itinerant_phpstan_and_phpunit.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# https://github.com/php-actions
# https://github.com/setup-php

name: itinerant_phpstan_and_phpunit
on:
Expand Down Expand Up @@ -32,3 +33,28 @@ jobs:
uses: php-actions/phpunit@v3
with:
php_version: ${{ matrix.php_version }}

itinerant_phpstan_and_phpunit_alt:
name: "${{ github.event.inputs.repo }}"
strategy:
fail-fast: false
matrix:
php_version: [latest]
runs-on: ubuntu-latest
steps:
- run: echo "Testing ${{ github.event.inputs.repo }}..."
- uses: actions/checkout@v4
with:
repository: ${{ github.event.inputs.repo }}
- run: ls -Fla
- run: pip install --user codespell[toml]
- run: codespell || true
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php_version }}
tools: phplint, phpstan, phpunit
- run: phplint
- if: ${{ always() }}
run: phpstan
- if: ${{ always() }}
run: phpunit

0 comments on commit 23e2fbc

Please sign in to comment.