Skip to content

Commit

Permalink
Create tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rudashi authored Mar 2, 2024
1 parent 1be2f14 commit c6a3cfe
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: PHP Composer

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

permissions:
contents: read

jobs:
tests:
runs-on: ubuntu-latest

strategy:
fail-fast: true
matrix:
php: [8.0, 8.1, 8.2, 8.3]

name: PHP ${{ matrix.php }}

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Install Composer dependencies
run: composer install --prefer-dist --no-interaction --no-progress

- name: Run test suite
run: composer run-script test

0 comments on commit c6a3cfe

Please sign in to comment.