Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup emits warning xargs: warning: options --max-args and --replace/-I/-i are mutually exclusive, ignoring previous --max-args value #712

Closed
3 of 5 tasks
localheinz opened this issue Mar 17, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@localheinz
Copy link
Contributor

localheinz commented Mar 17, 2023

Describe the bug

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems

  • ubuntu-latest

PHP versions

  • 8.1.16
  • 8.2.3
  • 8.3.0-dev

To Reproduce
See .github/workflows/ci.yml in sebastianbergmann/phpunit:

# https://help.github.com/en/categories/automating-your-workflow-with-github-actions

on:
  - pull_request
  - push

name: CI

env:
  COMPOSER_ROOT_VERSION: "10.1-dev"

permissions:
  contents: read

jobs:
  unit-tests:
    name: Unit Tests

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

    env:
      PHP_EXTENSIONS: none, curl, dom, json, libxml, mbstring, openssl, phar, soap, tokenizer, xml, xmlwriter
      PHP_INI_VALUES: memory_limit=-1, assert.exception=1, zend.assertions=1, error_reporting=-1, log_errors_max_len=0, display_errors=On

    continue-on-error: ${{ matrix.experimental }}

    strategy:
      fail-fast: false
      matrix:
        os:
          - ubuntu-latest
          - windows-latest

        php-version:
          - "8.1"
          - "8.2"

        experimental:
          - false

        include:
          - os: ubuntu-latest
            php-version: "8.3"
            experimental: true

          - os: windows-latest
            php-version: "8.3"
            experimental: true

    steps:
      - name: Configure Git to avoid issues with line endings
        if: matrix.os == 'windows-latest'
        run: git config --global core.autocrlf false

      - name: Checkout
        uses: actions/checkout@v3

      - name: Install PHP with extensions
        uses: shivammathur/setup-php@v2
        with:
          php-version: ${{ matrix.php-version }}
          extensions: ${{ env.PHP_EXTENSIONS }}
          ini-values: ${{ env.PHP_INI_VALUES }}
          tools: none

      - name: Install dependencies with Composer
        run: ./tools/composer update --no-ansi --no-interaction --no-progress

      - name: Run tests with PHPUnit
        run: ./phpunit --testsuite unit

Expected behavior
Setup fails or does not emit a warning

Screenshots/Logs
See

Additional context
n/a

Are you willing to submit a PR?
n/a

@localheinz localheinz added the bug Something isn't working label Mar 17, 2023
@shivammathur
Copy link
Owner

Fixed in 39b4e4a, Will be in the next release.

@shivammathur shivammathur added the awaiting-release Added/Fixed and tested, awaiting release label Mar 17, 2023
@shivammathur
Copy link
Owner

Fix released in 2.25.0.

@localheinz
Copy link
Contributor Author

Thank you, @shivammathur!

@shivammathur shivammathur removed the awaiting-release Added/Fixed and tested, awaiting release label Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants