HEX
Server: LiteSpeed
System: Linux sv4.hami.host 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: armgroup (1008)
PHP: 8.2.32
Disabled: show_source, system, shell_exec, passthru, exec, popen, proc_open, mail, socket_create, socket_create_listen, socket_create_pair, link, dl, openlog, syslog, stream_socket_server, curl_multi_init
Upload Files
File: /home/armgroup/libs/vendor/diglactic/laravel-breadcrumbs/.github/workflows/tests.yml
name: tests

on:
  # Run action on every push and PR
  push:
  pull_request:

  # Run action at midnight to test against any updated dependencies
  schedule:
    - cron: '0 0 * * *'

jobs:
  phpunit:
    strategy:
      matrix:
        php: [ 8.1, 8.0, 7.4, 7.3, 7.2 ]
        laravel: [ 9.x-dev, 8.*, 7.*, 6.* ]
        os: [ ubuntu-latest, windows-latest ]

        # Unsupported combinations
        exclude:
          - laravel: 9.x-dev
            php: 7.4
          - laravel: 9.x-dev
            php: 7.3
          - laravel: 9.x-dev
            php: 7.2

          - laravel: 8.*
            php: 7.2

          - laravel: 7.*
            php: 8.1
          - laravel: 7.*
            php: 8.0

          - laravel: 6.*
            php: 8.1
          - laravel: 6.*
            php: 8.0

      # Continue running through matrix even if one combination fails
      fail-fast: false

    runs-on: ${{ matrix.os }}

    name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.os }}

    steps:
      - name: Check out code
        uses: actions/checkout@v2

      - name: Setup PHP
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php }}
          coverage: xdebug
          extensions: fileinfo

      - name: Install dependencies
        run: |
          # Install Laravel version per matrix
          composer require --dev "laravel/framework:${{ matrix.laravel }}" --no-interaction

          composer install --no-interaction

      - name: Execute PHPUnit tests
        run: vendor/bin/phpunit --coverage-clover build/logs/clover.xml

      - name: Report coverage to Codecov
        uses: codecov/codecov-action@v1
        with:
          file: build/logs/clover.xml