Test Failed
Pull Request — master (#188)
by Wilmer
03:49
created

Checkout Config

checks:
  php: true

filter:
  paths:
    - "src/*"

build:
  image: default-bionic

  environment:
    variables:
      YII_ENV: test

    php:
      version: 8.1
      ini:
        xdebug.mode: coverage

  nodes:
    analysis:
      tests:
        override:
          - php-scrutinizer-run

    codeception:
      dependencies:
        override:
          - composer self-update
          - composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

      tests:
        override:
          - command: |
              ./yii serve 127.0.0.1:8080 > ./runtime/yii.log 2>&1 &
              vendor/bin/codecept run Acceptance --coverage-xml --env github-ci
            on_node: 1
            coverage:
              file: runtime/tests/_output/coverage.xml
              format: php-clover

Repository Config

build:
    nodes:
        analysis:
            project_setup:
                override:
                    - 'true'
            tests:
                override:
                    - php-scrutinizer-run
                    -
                        command: phpcs-run
                        use_website_config: true
        tests: true
filter:
    excluded_paths:
        - 'tests/*'
checks:
    php: true
coding_style:
    php:
        spaces:
            around_operators:
                assignment: false
                concatenation: true
            within:
                brackets: true