Skip to content

FOUR-16341 Nayra - testing: We need to have the possibility to select the path in a gateway #43

FOUR-16341 Nayra - testing: We need to have the possibility to select the path in a gateway

FOUR-16341 Nayra - testing: We need to have the possibility to select the path in a gateway #43

Workflow file for this run

name: SonarQube
on:
push:
branches:
- develop
- next
pull_request:
types: [opened, synchronize, reopened, edited]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Update Composer
run: sudo composer self-update
- name: Cache Composer dependencies
id: composer-cache
uses: actions/cache@v2
with:
path: vendor
key: composer-v1-${{ hashFiles('composer.json') }}
restore-keys: |
composer-v1-
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: "8.2"
extensions: xdebug
coverage: xdebug
ini-values: xdebug.mode=coverage
- name: Install Composer dependencies
run: composer install -n --prefer-dist
- name: Run PHPUnit tests
run: ./vendor/bin/phpunit -d memory_limit=-1
- name: List coverage files
run: ls -l coverage
- uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}