Skip to content

Merge pull request #94 from findologic/PLENTY-485-Properties-consider… #533

Merge pull request #94 from findologic/PLENTY-485-Properties-consider…

Merge pull request #94 from findologic/PLENTY-485-Properties-consider… #533

Workflow file for this run

name: Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup PHP with Composer 2
uses: shivammathur/setup-php@v2
with:
php-version: 8.1
coverage: xdebug
tools: composer:v2
- name: Setup CI environment with env files
run: cp .env.example .env && cp .env.test.example .env.test
- name: Validate composer.json and composer.lock
run: composer validate
- name: Install dependencies
run: composer install --prefer-dist --no-progress --no-suggest
- name: Check linting rules
run: composer lint
- name: Run tests
run: composer test
- name: Upload code coverage to codecov
run: bash <(curl -s https://codecov.io/bash)