Passed
Push — master ( 1d1ee1...99d0e8 )
by Ondra
12:41
created

Checkout Config

build:
    environment:
        php:
            version: 8.1.13
            pecl_extensions:
                - xdebug
        variables:
            XDEBUG_MODE: "coverage"
            OPENSSL_CFLAGS: "-I/usr/include/openssl"
            OPENSSL_LIBS: "-L/usr/lib/x86_64-linux-gnu -lssl -lcrypto"
    dependencies:
        before:
            - wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
            - bash miniconda.sh -b -p $HOME/miniconda
            - export PATH="$HOME/miniconda/bin:$PATH"
            - conda config --set always_yes yes
            - conda update -q conda
            - conda create -q -n py313 python=3.13
            - pip install --upgrade pip
            - source activate py313
            - curl -sS https://getcomposer.org/installer | php
            - php composer.phar require --dev phpunit/phpunit ^9
    nodes:
        analysis:
            project_setup:
                override:
                    - python --version  # ověření verze
            tests:
                override:
                    - command: 'vendor/bin/phpunit --coverage-clover=clover.xml'
                      coverage:
                        file: clover.xml
                        format: clover
        tests: true

filter:
    excluded_paths:
        - 'tests/*'
        - 'example/*'
checks:
    php: true
coding_style:
    php:
        spaces:
            around_operators:
                concatenation: true
            other:
                after_type_cast: false