Skip to content

Commit

Permalink
add unit-test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lubiana committed Aug 27, 2024
1 parent 63fbf9b commit 720deac
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Pull Request Check
on: [pull_request]

jobs:
unit-test:
name: Unit testing
strategy:
fail-fast: false
matrix:
php: [7.4, 8.0, 8.1, 8.2, 8.3, 8.4]
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
extensions: curl, mbstring
tools: composer:v2
- run: composer install
- run: composer test

0 comments on commit 720deac

Please sign in to comment.