Skip to content

Update dependency twig/twig to v3.11.2 [SECURITY] #7923

Update dependency twig/twig to v3.11.2 [SECURITY]

Update dependency twig/twig to v3.11.2 [SECURITY] #7923

Workflow file for this run

# This file is part of the Stooa codebase.
#
# (c) 2020 - present Runroom SL
#
# For the full copyright and license information, please view the LICENSE
# file that was distributed with this source code.
# This workflow runs all the PHPUnit tests.
name: Backend tests
on:
pull_request:
push:
branches:
- main
jobs:
backend-tests:
name: PHP ${{ matrix.php }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: backend
strategy:
matrix:
php: ['8.1']
steps:
- name: Checkout the repository to Github workspace
uses: actions/checkout@v3
- name: Setup the PHP environment
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php }}
coverage: pcov
tools: composer
ini-values: date.timezone=Europe/Madrid
- name: Add PHPUnit matcher
run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json"
- name: Installs Composer
uses: ramsey/composer-install@v2
with:
working-directory: backend
- name: Execute PHPUnit
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- name: Send coverage to Codecov
uses: codecov/codecov-action@v3
with:
file: build/logs/clover.xml