Skip to content

Commit

Permalink
Add GitHub actions configuration.
Browse files Browse the repository at this point in the history
  • Loading branch information
serge-kvashnin committed Oct 2, 2023
1 parent 7356d55 commit 2010832
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
on: [ pull_request, push ]

name: "Checks"

permissions:
contents: read

jobs:
tests:
name: Tests

runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
php-version:
- 8.1
- 8.2
- 8.3

steps:
- name: Checkout
uses: actions/checkout@v3

- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php-version }}"

- name: Install dependencies
uses: php-actions/composer@v6

- name: Run tests
run: vendor/bin/phpunit --testdox

0 comments on commit 2010832

Please sign in to comment.