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

error - sudo: command not found #688

Closed
2 of 5 tasks
shawnhooper opened this issue Jan 20, 2023 · 6 comments
Closed
2 of 5 tasks

error - sudo: command not found #688

shawnhooper opened this issue Jan 20, 2023 · 6 comments
Assignees
Labels
bug Something isn't working self-hosted

Comments

@shawnhooper
Copy link

Describe the bug

Starting today (January 20, 2023) am unable to get this action to run. Throws sudo: command not found errors.

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

PHP versions

8.1

To Reproduce

  phpunit:
    name: "PHPUnit Unit & Feature Tests w/ Code Coverage Enabled"
    runs-on: ubuntu-latest
    container:
      image: kirschbaumdevelopment/laravel-test-runner:8.1
    services:
      mysql:
        image: mysql:5.7
        env:
          MYSQL_ROOT_PASSWORD: password
          MYSQL_DATABASE: phpunit
        ports:
          - 33306:3306
        options: --health-cmd="mysqladmin ping" --health-interval=10s --health-timeout=5s --health-retries=3
    steps:
      - uses: actions/checkout@v1
        with:
          fetch-depth: 1
      - name: Install composer dependencies
        run: |
          composer install --no-scripts
      - name: Prepare Laravel Application
        run: |
          mkdir -p .coverage-report/html
          php artisan passport:keys
      - name: Setup PHP with PCOV
        uses: shivammathur/setup-php@v2
        with:
          php-version: '8.1'
          ini-values: pcov.directory=app
          coverage: pcov

Expected behavior

Screenshots/Logs
image

@shawnhooper shawnhooper added the bug Something isn't working label Jan 20, 2023
@shivammathur
Copy link
Owner

@shawnhooper Fixed in dd01156. It wIll be in the next release.

@shivammathur shivammathur added awaiting-release Added/Fixed and tested, awaiting release self-hosted labels Jan 21, 2023
@Arkanius
Copy link

Oh, I had same problem here. Nice to hear that already exists a fix. I'll be waiting the release

@viktorruskai
Copy link
Contributor

viktorruskai commented Jan 24, 2023

Thanks for the fix ... 😊 @shivammathur When are you planning the release?

@anderson-xd
Copy link

Thanks for the fix! Next release will be soon?

@shivammathur
Copy link
Owner

This week for sure 😊

@shivammathur
Copy link
Owner

Released the fix in 2.24.0

@shivammathur shivammathur removed the awaiting-release Added/Fixed and tested, awaiting release label Jan 27, 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 self-hosted
Projects
None yet
Development

No branches or pull requests

5 participants