Closed Max84 closed 1 year ago
Hi @Max84 ,
Please can you provide your Github Actions yml configuration, so I can double check in a test repo? I've checked Docker Hub and 7.1 should still be available, so I'd like to create an example test case to explore this myself.
Thanks
Of course. Thanks.
name: TestsUnitaires
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
jobs:
TestsUnitaires:
runs-on: ubuntu-latest
- uses: actions/checkout@v3
- name: Tests unitaires
uses: php-actions/phpunit@v3
with:
version: 5.7.19
php_version: 7.1
configuration: .github/workflows/phpunit.xml
I think this might be a yaml issue - take a look at https://github.com/php-actions/example-phpunit/runs/6094836148, it runs fine with 7.1 but the value 7.1 has been entered in a string (otherwise yaml doesn't see the .1)
See: https://github.com/php-actions/example-phpunit/blob/master/.github/workflows/ci-php71.yml#L22
Hope that helps!
I tested with "7.1" instead of 7.1. I get the same result. With 7.2, it is KO too, it starts working with 7.3+.
Interesting, thanks for the information... I'll see if I can get any answers for you.
PHP 7.1 is no longer supported by the PHP community or PHPUnit. If you need to test on PHP 7.1, please re-open this and I'll see what I can do, but at the moment I'm trying to take control over the time I can put into these open source repositories.
Hi,
How can I use php 7.1? I tested 7.4, 8.0, there is no problem. It can be useful to run phpunit with old php versions.
I got this error:
thanks for help