mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-03 18:04:26 +02:00
Update ci.yml
This commit is contained in:
14
.github/workflows/ci.yml
vendored
14
.github/workflows/ci.yml
vendored
@@ -48,7 +48,7 @@ jobs:
|
|||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Override PHP ini values for JIT compiler
|
- name: Override PHP ini values for JIT compiler
|
||||||
if: matrix.compiler == 'jit'
|
if: matrix.compiler == 'jit'
|
||||||
@@ -62,20 +62,14 @@ jobs:
|
|||||||
extensions: ${{ env.PHP_EXTENSIONS }}
|
extensions: ${{ env.PHP_EXTENSIONS }}
|
||||||
ini-values: ${{ env.PHP_INI_VALUES }}
|
ini-values: ${{ env.PHP_INI_VALUES }}
|
||||||
|
|
||||||
- name: Cache Composer packages
|
|
||||||
id: composer-cache
|
|
||||||
uses: actions/cache@v3
|
|
||||||
with:
|
|
||||||
path: vendor
|
|
||||||
key: v5r2-${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
|
|
||||||
restore-keys: |
|
|
||||||
v5r1-${{ runner.os }}-php-${{ matrix.php-version }}-
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
uses: php-actions/composer@v6
|
uses: php-actions/composer@v6
|
||||||
|
|
||||||
- name: Run make
|
- name: Run make
|
||||||
run: make -B
|
run: make -B
|
||||||
|
|
||||||
|
- name: diff
|
||||||
|
run: git diff
|
||||||
|
|
||||||
- name: Run tests with phpunit
|
- name: Run tests with phpunit
|
||||||
run: php ./vendor/phpunit/phpunit/phpunit
|
run: php ./vendor/phpunit/phpunit/phpunit
|
||||||
|
Reference in New Issue
Block a user