splitting jobs

This commit is contained in:
Joby 2023-09-08 23:34:02 +00:00
parent be264b0e5d
commit e6941b3bd5
2 changed files with 15 additions and 5 deletions

View file

@ -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

13
.github/workflows/phpunit.yaml vendored Normal file
View file

@ -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