Skip to content

Update jelix to 1.8.16 #9888

Update jelix to 1.8.16

Update jelix to 1.8.16 #9888

Workflow file for this run

name: "🎳 Unit tests"
on:
push:
branches:
- master
- release_3_*
pull_request:
branches:
- master
- release_3_*
jobs:
php-tests:
name: "🐘 PHP-Unit"
runs-on: ubuntu-latest
strategy:
matrix:
include:
- php-version: "7.4"
php-unit: "9.6.22"
- php-version: "8.0"
php-unit: "9.6.22"
- php-version: "8.1"
php-unit: "10.5.40"
- php-version: "8.2"
php-unit: "11.5.2"
- php-version: "8.3"
php-unit: "11.5.2"
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Setup PHP with tools
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
tools: php-cs-fixer, phpunit
- name: Change the version of PHPUnit
# working-directory: tests/units
run: composer require --working-dir=tests/units/ phpunit/phpunit:${{ matrix.php-unit }}
- name: Running tests
run: make tests
js-tests:
name: "🟨 JS-Unit"
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- uses: actions/setup-node@v4
- name: Install dependencies
working-directory: tests/js-units
run: npm install
- name: Running tests
working-directory: tests/js-units
run: npm run js:test