Search found 1812 matches

by MattF
Thu Jan 14, 2021 7:27 pm
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

Those of you who utilize Code Coverage can take a look at how I utilized it for the phpBB Ads extension here: https://github.com/phpbb-extensions/ad-management/pull/161 https://codecov.io/gh/phpbb-extensions/ad-management/branch/master/graph/badge.svg?token=ezeD03g3Lt I chose CodeCov.io because our ...
by MattF
Mon Jan 04, 2021 10:47 pm
Forum: Extension Writers Discussion
Topic: Code sniffer changes
Replies: 15
Views: 591

Re: [Info] Using Github Actions to Test Extensions

david63 wrote:
Mon Jan 04, 2021 6:37 pm
MattF wrote:
Mon Jan 04, 2021 5:37 pm
Use of a behemoth IDE like PHPStorm should prevent these issues in the first place
Only if you happen to have deep pockets :shock:
It's $0.55 a day. Pocket change!
by MattF
Mon Jan 04, 2021 5:37 pm
Forum: Extension Writers Discussion
Topic: Code sniffer changes
Replies: 15
Views: 591

Re: [Info] Using Github Actions to Test Extensions

Yup that is it :evil: fixes the supposed error but that's a lot of work (many of my extensions are like the first) for zero gain. Same here :twisted: :twisted: Any idea when this changed and where it was documented? Ah well only about 200 files to manually edit - should give me something to do duri...
by MattF
Wed Dec 30, 2020 9:10 pm
Forum: phpBB Discussion
Topic: php 8.0 works fine!!!!!!!!!!
Replies: 15
Views: 1705

Re: php 8.0 works fine!!!!!!!!!!

Sure, and when i go to eat in a restaurant, I will get there a day early, order the supplies, cook the meal myself, then it will be just perfect when its time to eat. :lol: :D :lol: :D :lol: :D ha ha More like, when you go to eat in a restaraunt, and you get sick following that meal, you report it ...
by MattF
Mon Dec 28, 2020 6:32 pm
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

The executable files check is now merged to phpBB, so you can turn this option on.

Also the Extension Skeleton has just been updated and released with support for generating the workflow from the original post.
by MattF
Sun Dec 27, 2020 7:15 am
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

Any advice on the PHP8 failure? Ummm. I looked at some of your repos. You don't have any unit tests. You should not be running Unit tests when there is nothing to test! It wastes precious resources from Github for one, because of spooling up over 20 VMs which do nothing at all. That PHP8 failure is...
by MattF
Sat Dec 26, 2020 4:46 pm
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

The one thing that I did differently to Matt's OP was to create the tests.yml file (and its structure) on my local machine and then push it to GitHub. yes you can do it that way too. but i suggested it via github since it may not be straight forward for some to create the .github directory on an OS...
by MattF
Fri Dec 25, 2020 12:56 am
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

If anyone is interested in Code Coverage analysis: I used to use Scrutinizer for Code Coevrage. But I just could not get it to work with Github Actions, so I switched over to Codecov.com. I made some adjustments to the MySQL job section to enable the creation and sending of a code coverage report to...
by MattF
Fri Dec 25, 2020 12:50 am
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

KaileyT wrote:
Thu Dec 24, 2020 11:24 pm
If we are only using EPV, is it as simple as removing the MySQL Tests, PostgreSQL Tests and MSSQL, SQLite sections from our tests.yml file?
Yep. Each of those sections are surrounded by # START and # END comments so you know where they begin and end.
by MattF
Thu Dec 24, 2020 8:27 pm
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

PHP 8 Issue: If your test suite does not have functional tests, you will probably get a fail in the PHP 8 tests. To fix this you must add the --testsuite 'phpBB Test Suite' option to the run: phpBB/vendor/bin/phpunit --configuration phpBB/ext/$EXTNAME/.github/phpunit-$DB-github.xml --bootstrap ./tes...
by MattF
Thu Dec 24, 2020 8:21 pm
Forum: Extension Writers Discussion
Topic: Changes to Travis Accounts
Replies: 29
Views: 2281

Re: Changes to Travis Accounts

Posted a new topic as a guide for switching to Github Actions here: viewtopic.php?f=461&t=2578596
by MattF
Thu Dec 24, 2020 8:20 pm
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

As of right now, the extecutable files check has not yet been merged to phpBB, so until then the EXECUTABLE_FILES option should be set to 0.
by MattF
Thu Dec 24, 2020 8:19 pm
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

Re: [Info] Using Github Actions to Test Extensions

This post is reserved to notify of any changes to the above post. Dec 28, 2020: The phpBB Extension Skeleton official extension v1.1.6 now supports generating the Github Actions workflow template posted above. Dec 29, 2020: If you are interested in adding a test on a Windows server here is the job c...
by MattF
Thu Dec 24, 2020 8:19 pm
Forum: Extension Writers Discussion
Topic: [Info] Using Github Actions to Test Extensions
Replies: 21
Views: 2582

[Info] Using Github Actions to Test Extensions

Whether you are setting up an extension for the first time or looking to migrate your extension's CI test suite from Travis-CI over to Github Actions, these are the simple steps to take. This assumes you already have created PHPUnit tests for your extension. Also big thanks to Marc1706 for his hard ...
by MattF
Thu Dec 17, 2020 6:40 pm
Forum: Extension Writers Discussion
Topic: Changes to Travis Accounts
Replies: 29
Views: 2281

Re: Changes to Travis Accounts

Of course. And all official extensions and the skeleton will be updated around the same time.

Go to advanced search