
name: "Continuous Integration"

on:
  push:
    branches:
      - "*.x"
    paths:
      - ".github/workflows/continuous-integration.yml"
      - "composer.*"
      - "lib/**"
      - "phpunit.xml.dist"
      - "tests/**"
  pull_request:
    branches:
      - "*.x"
    paths:
      - ".github/workflows/continuous-integration.yml"
      - "composer.*"
      - "lib/**"
      - "phpunit.xml.dist"
      - "tests/**"

env:
  fail-fast: true

jobs:
  phpunit:
    name: "PHPUnit"
    uses: "doctrine/.github/.github/workflows/continuous-integration.yml@3.0.0"
    with:
      php-versions: '["7.2", "7.3", "7.4", "8.0", "8.1", "8.2"]'
