Skip to content

Merge pull request #63 from mindbox-cloud/MBM-393 #101

Merge pull request #63 from mindbox-cloud/MBM-393

Merge pull request #63 from mindbox-cloud/MBM-393 #101

Workflow file for this run

name: Check code style and tests
'on':
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build_8_0:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: php-actions/composer@v6
with:
php_version: 8.0
version: 2
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: 8.0
- name: Update packages
run: sudo composer update
- name: PHP version
run: php -v
- name: Run phpcs
run: vendor/bin/phpcs
- name: Run tests
uses: php-actions/phpunit@v3
with:
version: 9
php_version: 8.0