Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Rationale:
From now on, Travis CI offers 10000 credits to all free-tiers (per user), and they aren't renewed (so it's 10000 credits for life). After they reach 0, builds simply stop running. In my T-Regx library I already lost 1000 credits :/ You can pay to get more credits.
You can see here: https://travis-ci.com/account/plan how much credits you have left.
As long as they both work, you can keep them both, to see which do you prefer.
PR Overview:
alpine
images or different versions will be easy. Just editimage
field.test/test-db/recreate_schema.sql
ouzo_test
and creds:ouzo_user
/password
docker
andphpunit
locally.mysql
/psql
, you must domysql -h 127.0.0.1
,psql -h 127.0.0.1
(orlocalhost
). You must do the same if you runmysql
/postgres
indocker
locally - another reason why ghActions is 1:1 local docker.['PHP 8.0.0', 'PHP 8.0.1'] x ['MySQL', 'PostgreSQL', 'SQLite']
)actions/cache@v1
action, so that composer dependencies aren't loaded each time (speeds up the build)./vendor/bin/php-coveralls
is run at the end of the workflow, so coverage can be used by coverallsecho | sqlite
to seed SQLite base, becausesqlite db -init file.sql
opened prompt for stdin, so.ouzo_user
user, but I was getting error, failing atCREATE FUNCTION get_name
, line 39:-u root -ppassword
to seed it. Perhaps there's a way to seed and create function as a regular user, but I didn't find it.phpunit
is run with properdb
env variable required byconfig/test/config.php
, as well as proper@group
ReadMe.me