Skip to content

Update config.php

Update config.php #54

Workflow file for this run

name: ciUnitTests
on:
push:
branches:
- 'mautic[0-9]+'
- '[0-9]+\-[0-9]+\-x'
- 'MTC\-[0-9]+'
- 'MTC\-[0-9]+-bugfix'
pull_request:
branches:
- 'mautic[0-9]+'
jobs:
integration:
name: CI Unit Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup PHP Environment
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
- name: Install composer requirements.
run: |
composer config repositories.0 git https://github.com/mautic/FOSOAuthServerBundle.git
composer config repositories.1 git https://github.com/Leuchtfeuer/mautic-CompanyTags-bundle.git
composer config repositories.2 git https://github.com/Leuchtfeuer/mautic-CompanySegments-bundle.git
composer config repositories.3 git https://github.com/mautic/SpBundle.git
composer config repositories.4 git https://github.com/mautic/SymfonyBridgeBundle.git
composer require --dev phpunit/phpunit
composer require leuchtfeuer/mautic-companysegments-bundle leuchtfeuer/mautic-companytags-bundle
- name: Run PHPUnit
run: ./vendor/bin/phpunit --testsuite unit #--coverage-cobertura=coverage.xml
#- name: Code Coverage
# uses: irongut/CodeCoverageSummary@v1.3.0
# with:
# filename: coverage.xml
# badge: true
# format: 'markdown'
# output: 'both'
#- name: Write to Job Summary
# run: cat code-coverage-results.md >> $GITHUB_STEP_SUMMARY