mirror of
https://github.com/Intervention/image.git
synced 2025-08-26 07:14:31 +02:00
Github workflows "Run tests"
This commit is contained in:
24
.github/workflows/run-tests.yml
vendored
Normal file
24
.github/workflows/run-tests.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: run-tests
|
||||
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
php-versions: ['8.0']
|
||||
name: Testing on PHP ${{ matrix.php-versions }}
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@v2
|
||||
- name: setup
|
||||
uses: shivammathur/setup-php@v2
|
||||
with:
|
||||
php-version: ${{ matrix.php-versions }}
|
||||
extensions: imagick,gd,mbstring,bcmath
|
||||
tools: phpunit,composer
|
||||
- name: install deps
|
||||
run: composer install -o -q
|
||||
- name: run phpunit
|
||||
run: vendor/bin/phpunit
|
Reference in New Issue
Block a user