fix: proper preproduction api gateway domain #184
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PsBilling Quality Control PHP | |
concurrency: | |
group: qc-${{ github.ref }} | |
on: [push] | |
jobs: | |
php-linter: | |
name: PHP Syntax check 5.6|7.2|7.3|7.4|8.0|8.1|8.2 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: PHP syntax checker 7.2 | |
uses: prestashop/github-action-php-lint/7.2@master | |
- name: PHP syntax checker 7.3 | |
uses: prestashop/github-action-php-lint/7.3@master | |
- name: PHP syntax checker 7.4 | |
uses: prestashop/github-action-php-lint/7.4@master | |
- name: PHP syntax checker 8.0 | |
uses: prestashop/github-action-php-lint/8.0@master | |
- name: PHP syntax checker 8.1 | |
uses: prestashop/github-action-php-lint/8.1@master | |
- name: PHP syntax checker 8.2 | |
uses: prestashop/github-action-php-lint/8.2@master | |
php-cs-fixer: | |
name: PHP-CS-FIXER | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Run PHP-CS-Fixer | |
uses: prestashopcorp/github-action-php-cs-fixer@master | |
phpunit: | |
name: PHPUNIT | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
version: [5.6, 7.1, 7.2, 8.0] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup PHP with tools | |
uses: shivammathur/setup-php@v2 | |
with: | |
php-version: ${{ matrix.version }} | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Update dependencies | |
run: composer update | |
- name: Install dependencies | |
run: composer install | |
- name: PHPUnit tests | |
run: | | |
wget -O phpunit https://phar.phpunit.de/phpunit-5.phar | |
chmod +x phpunit | |
./phpunit tests |