Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ledger.corals.io/vendor/php-coveralls/php-coveralls/.github/workflows/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/corals/ledger.corals.io/vendor/php-coveralls/php-coveralls/.github/workflows/ci.yml
name: CI

on:
    - pull_request
    - push

jobs:
    tests:
        name: "PHP ${{ matrix.php }} + Composer ${{ matrix.composer-flags }} + Symfony@${{ matrix.symfony || '*' }}"
        runs-on: ubuntu-latest

        strategy:
            fail-fast: false
            matrix:
                include:
                    -   php: '5.5'
                        composer-flags: '--prefer-lowest'
                        calculate-code-coverage: 'yes'
                    -   php: '5.5'
                        symfony: '^3.0'
                    -   php: '5.6'
                    -   php: '7.0'
                    -   php: '7.1'
                        symfony: '^4.0'
                    -   php: '7.2'
                        symfony: '^5.0'
                    -   php: '7.3'
                    -   php: '7.4'
                    -   php: '8.0'
                        symfony: '^6.0'
                        calculate-code-coverage: 'yes'

        steps:
            -   name: Checkout source
                uses: actions/checkout@v2

            -   name: Get code coverage driver
                uses: actions/[email protected]
                id: code-coverage-driver
                with:
                    script: 'return "${{ matrix.calculate-code-coverage }}" == "yes" ? "pcov" : "none"'
                    result-encoding: string

            -   name: Get symfony flex version
                uses: actions/[email protected]
                id: flex-version
                with:
                    script: 'return "${{ matrix.php }}" == "7.0" ? "~1.6.0" : "^1.11"'
                    result-encoding: string

            -   name: PHP setup
                uses: shivammathur/setup-php@v2
                with:
                    php-version: ${{ matrix.php }}
                    coverage: ${{ steps.code-coverage-driver.outputs.result }}

            -   name: Downgrade composer for olf Symfony Flex
                if: steps.flex-version.outputs.result == '~1.6.0'
                run: composer self-update --1

            -   name: Install Symfony Flex
                if: startsWith(matrix.php, '5') == false
                run: composer global require -o --no-interaction symfony/flex:${{ steps.flex-version.outputs.result }}

            -   name: Require Symfony version
                if: matrix.symfony
                run: composer config extra.symfony.require ${{ matrix.symfony }}

            -   name: Update composer dependencies
                run: composer update -o --no-interaction --no-progress ${{ matrix.composer-flags }}

            -   name: Run test suite
                run: ./vendor/bin/phpunit -v

            -   name: Upload coverage results to Coveralls
                if: matrix.calculate-code-coverage == 'yes'
                env:
                    COVERALLS_REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
                    COVERALLS_PARALLEL: true
                    COVERALLS_FLAG_NAME: "PHP ${{ matrix.php }} + Symfony@${{ matrix.symfony || '*' }}"
                run: bin/php-coveralls -v --exclude-no-stmt

    coveralls-finish:
        needs: tests
        runs-on: ubuntu-latest
        steps:
            -   name: Notify Coveralls when build is finished
                run: |
                    curl -k https://coveralls.io/webhook?repo_token=${{ secrets.GITHUB_TOKEN }} \
                        -d "repo_name=$GITHUB_REPOSITORY&payload[build_num]=$GITHUB_RUN_ID&payload[status]=done"

    build-phar:
        needs: tests
        runs-on: ubuntu-latest
        steps:
            -   name: Checkout
                uses: actions/checkout@v2

            -   name: Setup PHP
                uses: shivammathur/setup-php@v2
                with:
                    php-version: 7.0
                    coverage: none

            -   name: Build PHAR
                run: |
                    curl -LSs https://box-project.github.io/box2/installer.php | php
                    composer config platform.php 2> /dev/null || composer config platform.php 5.5.0
                    composer update --no-dev --no-interaction --optimize-autoloader --no-interaction --no-progress
                    php -d phar.readonly=false box.phar build
                    ./build/artifacts/php-coveralls.phar --version

Spamworldpro Mini