11name : run-tests
22
33on :
4- push :
5- branches : [master]
6- pull_request :
7- branches : [master]
4+ push :
5+ pull_request :
86
97jobs :
108 test :
@@ -24,38 +22,35 @@ jobs:
2422 - laravel : 10.*
2523 testbench : 8.*
2624
27- name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
28-
29- steps :
30- - name : Checkout code
31- uses : actions/checkout@v4
32-
33- - name : Setup PHP
34- uses : shivammathur/setup-php@v2
35- with :
36- php-version : ${{ matrix.php }}
37- extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
38- coverage : none
39-
40- - name : Setup problem matchers
41- run : |
42- echo "::add-matcher::${{ runner.tool_cache }}/php.json"
43- echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
44-
45- - name : Install dependencies
46- run : |
47- composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
48- composer update --${{ matrix.stability }} --prefer-dist --no-interaction
49-
50- - name : Install unoserver and libreoffice
51- run : |
52- python -m pip install --upgrade pip
53- sudo apt update
54- sudo apt-get install -y libreoffice
55- sudo pip install unoserver
56-
57- - name : List Installed Dependencies
58- run : composer show -D
59-
60- - name : Execute tests
61- run : composer test
25+ name : P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }}
26+
27+ steps :
28+ - name : Checkout code
29+ uses : actions/checkout@v4
30+
31+ - name : Setup PHP
32+ uses : shivammathur/setup-php@v2
33+ with :
34+ php-version : ${{ matrix.php }}
35+ extensions : dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv, imagick, fileinfo
36+ coverage : none
37+
38+ - name : Setup problem matchers
39+ run : |
40+ echo "::add-matcher::${{ runner.tool_cache }}/php.json"
41+ echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
42+
43+ - name : Install dependencies
44+ run : |
45+ composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update
46+ composer update --${{ matrix.stability }} --prefer-dist --no-interaction
47+
48+ - name : Install unoserver and libreoffice
49+ run : |
50+ python -m pip install --upgrade pip
51+ sudo apt update
52+ sudo apt-get install -y libreoffice
53+ sudo pip install unoserver
54+
55+ - name : Execute tests
56+ run : composer test
0 commit comments