File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,33 +20,9 @@ concurrency:
2020
2121jobs :
2222 auto-review-tests :
23- name : Automatic Code Review
24- runs-on : ubuntu-22.04
25-
26- steps :
27- - name : Checkout
28- uses : actions/checkout@v3
29-
30- - name : Setup PHP
31- uses : shivammathur/setup-php@v2
32- with :
33- php-version : ' 8.0'
34- coverage : none
35-
36- - name : Get composer cache directory
37- run : echo "COMPOSER_CACHE_FILES_DIR=$(composer config cache-files-dir)" >> $GITHUB_ENV
38-
39- - name : Cache dependencies
40- uses : actions/cache@v3
41- with :
42- path : ${{ env.COMPOSER_CACHE_FILES_DIR }}
43- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }}
44- restore-keys : ${{ runner.os }}-composer-
45-
46- - name : Install dependencies
47- run : composer update --ansi
48- env :
49- COMPOSER_AUTH : ${{ secrets.COMPOSER_AUTH }}
50-
51- - name : Run AutoReview Tests
52- run : vendor/bin/phpunit --color=always --group=AutoReview --no-coverage
23+ uses : ./.github/workflows/reusable-serviceless-phpunit-test.yml # @TODO Extract to codeigniter4/.github repo
24+ with :
25+ job-name : Automatic Code Review [PHP 8.1]
26+ php-version : ' 8.1'
27+ job-id : auto-review-tests
28+ group-name : AutoReview
You can’t perform that action at this time.
0 commit comments