-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Test framework with github actions #3689
Conversation
Well... the drop in coverage is interesting. I have no idea what went wrong 😅 |
I think coverage decreased is fine as far as the the test still works. |
My guess for the decreased coverage is that coveralls only considered the lines covered by the first run using SQLite3. Runs for MySQLi and Postgres were not considered anymore. Is it even possible to consolidate the runs? |
Thanks, I'm testing this right now - will see :) Oh.. .and about consolidation run... I have no idea - I don't see such an option anywhere. |
I think we need to set up https://github.com/twinh/php-coveralls#github-actions |
@paulbalandan Oh... it was there and I missed it - thanks :) |
The new DB Config content looks good! Probably need to rebase. |
Great, I broke something and I didn't even notice it. Will try to fix it. |
4ed258b
to
726ede4
Compare
The badge build in readme.md need to be updated to github action badge |
Could we name the workflow "PHPUnit" to be consistent with our other test workflows? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking very good! A few things I should have mentioned earlier. But I also want @lonnieezell to approve the removal of TravisCI before we merge, since that is a pretty big organizational decision. We could always run tests on both in the interim, but that has disadvantages.
I'm all for doing this. Travis has become really slow, whereas Actions seems to be much faster, and having everything in one place is great. Is there a way to do an "allowed failure" and test against 8 yet with Actions? I know it will fail currently, but it's something we need to get in place sometime soon. |
@lonnieezell There's a lot of noise about "allowed failures" but basically it looks like there is not currently an equivalent feature to the way Travis lets us test against nightlies. Check out this issue if you want to contribute to said noise: actions/runner#2347 |
For now, since the plan is to release |
@MGatner That's too bad. The continue on failure action doesn't seem to help here, either, I don't think. Oh well. But yes, I think adding 8 to 4.1 would be good. |
Oooo the |
Well... idk if this will work out as we want it to but fingers crossed. |
Ok... this is not working. I guess we would have to make all checks successful 😕 Probably it's possible but have no much sense. |
Ok, this is a bit redundant but I have no other ideas on how to handle this. Right now PHP 8.0 has its own job which is only run for 4.1 branch. Too bad that If someone has any other ideas on how to handle this, I'm all ears. Hopefully, github will introduce something similar to |
Thanks for your work on this! Your experience is very valuable for the big upcoming November stuff. I think for now I'd rather see a different YML file pushed to the |
Yeah... I'm totally fine with excluding PHP8. We can address this later in 4.1 branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. Looks great! Travis is taking 2 hours for a run - excited to see if this speeds is up!
Description
This PR is an attempt to replace TravisCI with Github Actions.
Checklist: