Skip to content

Commit

Permalink
Run tests on different PHP versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lruozzi9 committed Oct 17, 2023
1 parent ad5dacc commit f7e1ce8
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/php.yml → .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tests
name: 'Tests'

on:
push:
Expand All @@ -9,21 +9,25 @@ on:
permissions:
contents: read

env:
PHP_VERSION: 8.2

jobs:
build:

runs-on: ubuntu-latest

name: "PHP ${{ matrix.php }}"

strategy:
fail-fast: false
matrix:
php: ["8.0", "8.1", "8.2"]

steps:
- uses: actions/checkout@v3

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ env.PHP_VERSION }}"
php-version: "${{ matrix.php }}"
tools: composer-require-checker
coverage: none

Expand Down

0 comments on commit f7e1ce8

Please sign in to comment.