Skip to content

Commit

Permalink
Created unit test github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
blancks committed Aug 22, 2024
1 parent 761f25a commit d19dff9
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test

on: push

jobs:
test:
name: "PHPUnit (PHP ${{ matrix.php-versions }})"
runs-on: ubuntu-latest

strategy:
matrix:
php-versions: ["8.1", "8.2", "8.3"]

steps:
- name: Checkout Code
uses: actions/checkout@v2

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

- name: Install Composer
run: composer update --no-progress --no-suggest --prefer-dist --optimize-autoloader

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

0 comments on commit d19dff9

Please sign in to comment.