Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Make sure the command is copy pastable by removing $ #132

Make sure the command is copy pastable by removing $

Make sure the command is copy pastable by removing $ #132

Workflow file for this run

# .github/workflows/code_checks.yaml
name: Code_Checks
on: ["push", "pull_request"]
jobs:
js-tests:
name: "JS Tests"
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install JS dependencies
run: |
cd Resources && npm install
- name: Run JS tests
run: |
cd Resources && npm run test
phpunit:
name: "PHP ${{ matrix.php }} + ${{ matrix.dependencies }} dependencies + Symfony ${{ matrix.symfony }}"
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
php: ['8.0', '8.1', '8.2']
dependencies: [highest]
symfony: ['*']
include:
# Minimum supported dependencies with the oldest supported PHP version
- php: '8.0'
dependencies: lowest
symfony: '*'
# Minimum supported dependencies with the latest supported PHP version
- php: '8.2'
dependencies: lowest
symfony: '*'
- php: '8.2'
dependencies: highest
symfony: '*'
# Test each supported Symfony version with lowest supported PHP version
- php: '8.0'
dependencies: highest
symfony: '5.4.*'
- php: '8.0'
dependencies: highest
symfony: '6.0.*'
- php: '8.1'
dependencies: highest
symfony: '6.2.*'
- php: '8.2'
dependencies: highest
symfony: '7.0.*'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
- name: Require Symfony version
if: matrix.symfony != '*'
run: |
composer global config --no-plugins allow-plugins.symfony/flex true
composer global require --no-interaction --no-progress symfony/flex:^2.2
composer config extra.symfony.require ${{ matrix.symfony }}
- name: Update project dependencies
uses: ramsey/composer-install@v2
with:
dependency-versions: ${{ matrix.dependencies }}
- name: Cache PHPUnit
uses: actions/cache@v3
with:
path: vendor/bin/.phpunit
key: ${{ runner.os }}-phpunit-${{ matrix.php }}
- name: Install PHPUnit
run: vendor/bin/simple-phpunit install
- name: Run PHPUnit tests
env:
SYMFONY_DEPRECATIONS_HELPER: max[self]=0
run: vendor/bin/simple-phpunit -v
Morty Proxy This is a proxified and sanitized view of the page, visit original site.