Skip to content

[ENG-2586] Harden version comparison with stricter normalization and expanded tests #10

[ENG-2586] Harden version comparison with stricter normalization and expanded tests

[ENG-2586] Harden version comparison with stricter normalization and expanded tests #10

Workflow file for this run

name: Tests
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ubuntu-latest
name: Tests
steps:
- uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
coverage: none
- name: Cache Composer dependencies
uses: actions/cache@v4
with:
path: vendor
key: ${{ runner.os }}-composer-${{ hashFiles('composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- name: Install dependencies
run: composer install --no-progress --no-interaction --prefer-dist
- name: Run tests
run: vendor/bin/pest