php-toolbox/.github/workflows/ci.yml

21 lines
435 B
YAML
Raw Permalink Normal View History

2024-07-11 04:00:06 +00:00
name: CI
on: [push]
jobs:
build-test:
runs-on: ubuntu-latest
2024-07-11 04:10:45 +00:00
strategy:
fail-fast: false
matrix:
php-versions: [8.1, 8.2, 8.3]
2024-07-11 04:00:06 +00:00
steps:
2024-07-11 04:14:56 +00:00
- uses: actions/checkout@v4
2024-07-11 04:00:06 +00:00
- uses: php-actions/composer@v6
- uses: php-actions/phpstan@v3
- uses: php-actions/phpunit@v4
2024-07-11 04:12:53 +00:00
with:
2024-07-12 02:09:22 +00:00
version: 10
2024-07-11 04:12:53 +00:00
test_suffix: "Test.php"
2024-07-12 02:08:13 +00:00
php_version: ${{ matrix.php-versions }}