Skip to content

Commit

Permalink
add phpunit testing to GH actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Bottelet committed Sep 14, 2024
1 parent e923cdd commit b73ec7e
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 29 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/laravel.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/phpunit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Phpunit

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

jobs:
tests:
runs-on: ubuntu-22.04
strategy:
matrix:
php-versions: ['8.2']
steps:
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
- uses: actions/checkout@v4
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Execute tests PHPUnit tests
run: ./vendor/bin/phpunit tests

0 comments on commit b73ec7e

Please sign in to comment.