Skip to content

Merge pull request #300 from TransbankDevelopers/feat/change-param-or… #131

Merge pull request #300 from TransbankDevelopers/feat/change-param-or…

Merge pull request #300 from TransbankDevelopers/feat/change-param-or… #131

Workflow file for this run

name: Build
on:
pull_request:
branches:
- "**"
push:
branches:
- master
- develop
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: [8.2]
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.2
extensions: mbstring, json, curl, pcov
coverage: pcov
- name: Install dependencies
run: composer install --no-interaction --no-progress --prefer-dist
- name: Run PHPUnit tests
run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml
- name: SonarCloud Scan
uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}