forked from palantirnet/drupal-rector
-
Notifications
You must be signed in to change notification settings - Fork 0
24 lines (22 loc) · 830 Bytes
/
phpunit.yml
File metadata and controls
24 lines (22 loc) · 830 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
name: phpunit
# This test will run on every pull request, and on every commit on any branch
on: [push, pull_request]
jobs:
tests:
name: 'PHPUnit | PHP ${{ matrix.php-version }}'
runs-on: ubuntu-latest
strategy:
matrix:
php-version:
- "8.1"
steps:
- uses: actions/checkout@v3
- uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
coverage: none
tools: composer:v2
# We cannot have rector/rector in require and rector/rector-src in require-dev, they conflict.
- run: composer remove rector/rector --no-update
- run: composer install
- run: vendor/bin/phpunit --testdox