Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Move CI from Travis to GitHub #60

Merged
merged 3 commits into from
Aug 29, 2022
Merged

Move CI from Travis to GitHub #60

merged 3 commits into from
Aug 29, 2022

Conversation

jrmajor
Copy link
Contributor

@jrmajor jrmajor commented Aug 29, 2022

No description provided.

php-version: '5.6'
- phpunit-version: 5
php-version: '5.6'
- phpunit-version: 5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

initial solution was iterating over each PHP Version and each PHPUnit version, if they are compatible - run the tests.

now, we hardcoded the valid combinations, hoping we will never forget to add a valid variation.I think it's error-prone , but we also don't have so many changes in this repo, so not blocking

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If I understand the script correctly, it wasn't “if they are compatible”, but “if composer require && composer update does not fail”, which is also error-prone. I don't have any good idea how to do this check reliably.

@keradus
Copy link
Member

keradus commented Aug 29, 2022

I guess no other way to validate this PR than merging it. Pls raise a follow-up PR if sth goes wrong after the merge

@keradus
Copy link
Member

keradus commented Aug 29, 2022

kudos ;)

@keradus keradus merged commit 2f6d26a into PHPUnitGoodPractices:main Aug 29, 2022
@jrmajor jrmajor deleted the gh-actions branch August 29, 2022 18:04
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants