46 Commits

Author SHA1 Message Date
Luke Towers
c047f34156 Merge branch 'wip/rebrand-1.0' into wip/rebrand-develop
# Conflicts:
#	.github/workflows/code-quality-pr.yaml
#	.github/workflows/code-quality-push.yaml
#	.github/workflows/tests.yml
#	README.md
#	composer.json
#	modules/backend/behaviors/ImportExportController.php
#	modules/backend/behaviors/ReorderController.php
#	modules/backend/composer.json
#	modules/backend/models/ExportModel.php
#	modules/cms/ServiceProvider.php
#	modules/cms/classes/Asset.php
#	modules/cms/classes/CmsObject.php
#	modules/cms/classes/CmsObjectCollection.php
#	modules/cms/composer.json
#	modules/system/ServiceProvider.php
#	modules/system/aliases.php
#	modules/system/assets/js/lang/lang.es.js
#	modules/system/assets/js/lang/lang.it.js
#	modules/system/assets/js/lang/lang.zh-tw.js
#	modules/system/assets/ui/storm-min.js
#	modules/system/classes/CombineAssets.php
#	modules/system/classes/ErrorHandler.php
#	modules/system/classes/SystemController.php
#	modules/system/classes/UpdateManager.php
#	modules/system/composer.json
#	modules/system/console/WinterFresh.php
#	modules/system/console/WinterUtil.php
#	modules/system/controllers/updates/_list_toolbar.htm
#	modules/system/providers.php
#	tests/UiTestCase.php
#	tests/functional/backend/AuthTest.php
#	tests/functional/phpunit.xml
#	tests/unit/backend/classes/NavigationManagerTest.php
#	tests/unit/cms/classes/CmsObjectTest.php
#	tests/unit/cms/classes/ControllerTest.php
#	tests/unit/cms/classes/ThemeTest.php
#	tests/unit/plugins/database/PluginModelTest.php
#	tests/unit/plugins/database/ValidationModelTest.php
#	tests/unit/system/console/WinterEnvTest.php
2021-03-11 00:22:09 -06:00
Luke Towers
32d0702f11 Added missing registerAssetBundles() method 2021-03-10 23:32:08 -06:00
Luke Towers
cfa763b714 Initial rebrand commit generated from the 1.0 rebrand branch patch file 2021-03-10 15:02:53 -06:00
Luke Towers
a77e8b3b66 Add support for NavigationManager owner aliasing.
Written by @jaxwilko in #4
2021-03-09 14:12:25 -06:00
Ben Thomson
66d5d89017
Enusre PHP version is shown in CI actions 2021-03-08 17:40:08 +08:00
Ben Thomson
5ccae0990f
Cancel previous incomplete workflows, force Composer 1 for 1.0 branch 2021-03-08 17:29:12 +08:00
Ben Thomson
3022591080
Fix mispelling 2021-03-08 17:26:06 +08:00
Ben Thomson
1c7da5b51a
Fix testing structure for 1.0 2021-03-08 17:24:29 +08:00
Ben Thomson
2ea05585d5
Ensure Zip library is installed 2021-03-08 17:19:04 +08:00
Ben Thomson
9e4412c72c
Fix vendor directory in library reset 2021-03-08 17:16:03 +08:00
Luke Towers
61ecd3c34d fix links to storm library 2021-03-08 03:07:44 -06:00
Ben Thomson
d2c8102bbb
Ensure zip extension is installed for CI tests 2021-03-06 19:43:07 +08:00
Luke Towers
7d80b771fe Initial work on Winter rebrand for 1.0 branch 2021-03-06 04:06:19 -06:00
Ben Thomson
c71e1e3e69 Remove experimental flag 2021-03-01 23:17:25 +08:00
Ben Thomson
4f5d5426ec Test PHP 8 on both Linux and Windows 2021-03-01 23:14:22 +08:00
Ben Thomson
3939d2e493
Merge branch 'develop' into wip/php-8-testing 2021-01-14 10:29:34 +08:00
Luke Towers
e5732b575b fix tests 2021-01-04 17:22:33 -06:00
Luke Towers
3f5dcde710 Fix tests by using composer v1 2021-01-04 17:17:39 -06:00
Ben Thomson
3a8d504384
Fix unit tests (#5374) 2020-12-08 15:33:23 +08:00
Ben Thomson
8c74db68de
Further fixes 2020-11-20 11:32:43 +08:00
Ben Thomson
24ac7394b9
Remove second include 2020-11-20 11:29:27 +08:00
Ben Thomson
22e2ee57b9
Fix YAML formatting 2020-11-20 11:28:30 +08:00
Ben Thomson
99a894ba01
Run tests on PHP 8
These tests will be allowed to fail for now, as we don't officially support PHP 8.
2020-11-20 11:24:10 +08:00
Ben Thomson
ccd75e3e9c
Fix Composer constraint in tests, test 1.0, 1.1 and develop branches 2020-10-25 09:52:34 +08:00
Ben Thomson
34e9bea7cb
Force Composer v1 to be installed for tests
Until such a time that `wikimedia/composer-merge-plugin` supports Composer 2.

Refs: https://github.com/octobercms/october/pull/5330#issuecomment-715988820
2020-10-25 09:50:13 +08:00
Ben Thomson
a6fca1e317
Disable automatic running of scripts in Composer during tests 2020-08-14 08:26:23 +08:00
Ben Thomson
c7ed0ffa1a
Implement improved testing procedure (#5238)
Refs: 5feb7b872f
2020-08-14 08:00:39 +08:00
Ben Thomson
822e6d29ad
Drop browser tests from test suite
As much as I'd like to keep them, they're just too flaky right now.
2020-03-29 16:33:12 +08:00
Ben Thomson
0c982c2704 Use correct folder for getting screenshot artifacts from browser tests 2020-03-16 17:19:30 +08:00
Ben Thomson
cf87f1466a Use latest Chrome driver.
We'll have to assume that GitHub Actions' Ubuntu image is continually updated with the latest Chrome, although there's every likelihood that these tests will sometimes fail if the versions aren't in sync.

If it becomes too much of a problem, remove these tests.
2020-02-26 17:17:16 +08:00
Ben Thomson
1ac3c7194e Install Chrome 78 driver 2020-02-13 17:04:04 +08:00
Ben Thomson
1f30cf5809 Enable Composer scripts for browser tests 2020-02-13 16:56:08 +08:00
Ben Thomson
b78909d914 Install Dusk plugin before getting Composer deps 2020-02-13 16:52:58 +08:00
Ben Thomson
28eafd9afc Install RainLab Dusk plugin for browser tests 2020-02-13 16:24:55 +08:00
Ben Thomson
65c3a88179
[Laravel 6] Add support for Laravel Dusk tests (#4919) 2020-02-03 12:21:04 +08:00
Ben Thomson
ad27116362
Drop code reset and library replacement in automated tests, for now 2020-01-20 12:37:03 +08:00
Ben Thomson
a7904d6288
Drop PHP 7.1 tests 2020-01-20 12:33:30 +08:00
Ben Thomson
078eb9191c
Ensure October helpers are loaded before Laravel helpers 2020-01-19 22:58:13 +08:00
Samuel Georges
664fd6ed6b Add 7.4 test back in 2019-12-09 22:05:39 +11:00
Ben Thomson
e24a5964a1
Drop PHP 7.4 testing for now
Will bring it back with the L6 upgrade.
2019-11-28 22:53:40 +08:00
Ben Thomson
249051b89c
Include SQLite in automated tests 2019-11-28 12:57:36 +08:00
Ben Thomson
a91fa3f5ff
Add a few more PHP extensions into the automated tests 2019-11-28 12:52:31 +08:00
Ben Thomson
0849720494
Delay running post-update Composer scripts in automated tests
Allows us to reset the October codebase to what's in Git *before* running these tasks.
2019-11-28 12:48:56 +08:00
Ben Thomson
c70af0ec64
Ensure necessary PHP extensions are installed with unit tests 2019-11-28 09:25:10 +08:00
Ben Thomson
e9abdf7783
Parenthesise some double ternary conditions in Asset Combiner.
Improve compatibility with PHP 7.4, where "Unparenthesized `a ? b : c ?: d` is deprecated"

Fixes #4790.
2019-11-28 09:21:03 +08:00
Ben Thomson
c9b4402f13 Replace Travis with GitHub Actions workflows (#4633)
Credit to @bennothommo
2019-09-23 09:28:48 -06:00