SergiX44/XBackBone

View on GitHub
.github/workflows/test_suite.yml

Summary

Maintainability
Test Coverage
name: PHP Composer

on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        operating-system: [ubuntu-latest]
        php-versions: ["7.3", "7.4", "8.0", "8.1", "8.2"]

    steps:
    - uses: actions/checkout@v2

    - name: Validate composer.json and composer.lock
      run: composer validate --no-check-version

    - name: Install dependencies
      run: composer install --no-progress

    - name: Run test suite
      run: vendor/bin/phpunit --no-coverage