diff --git a/.github/workflows/tests.yaml b/.github/workflows/phpstan.yaml similarity index 72% rename from .github/workflows/tests.yaml rename to .github/workflows/phpstan.yaml index f825fff..ccbe177 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/phpstan.yaml @@ -1,7 +1,7 @@ -name: Tests and analysis +name: PHPStan on: push jobs: - test-and-analyze: + phpstan: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -14,6 +14,3 @@ jobs: level: max memory_limit: 1G args: --memory-limit 1G - - uses: php-actions/phpunit@v3 - with: - version: 9 diff --git a/.github/workflows/phpunit.yaml b/.github/workflows/phpunit.yaml new file mode 100644 index 0000000..f266723 --- /dev/null +++ b/.github/workflows/phpunit.yaml @@ -0,0 +1,13 @@ +name: PHPUnit +on: push +jobs: + phpunit: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: php-actions/composer@v6 + with: + dev: yes + - uses: php-actions/phpunit@v3 + with: + version: 9