Commit Graph

23 Commits

Author SHA1 Message Date
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