29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-06-24 22:39:31 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Hannes Papenberg
b2a2b93de7 [4.0] Codestyle fixes for new CMS codestyle Batch 13/16? (#25468) 2019-07-11 23:06:25 +01:00
Hannes Papenberg
47688cd4de [4.0] Codestyle fixes for new CMS codestyle Batch 8/16? (#25459) 2019-07-11 22:42:30 +01:00
Hannes Papenberg
d01355cbff [4.0] Codestyle fixes for new CMS codestyle Batch 1/16 (#25450) 2019-07-11 20:21:48 +01:00
Harald Leithner
171e6e0c40 [4.0] Keep system tests screenshots and html if failing. (#25368)
* Keep system tests screenshots and html if failing.

* Update signature
2019-06-30 10:39:27 +02:00
Hannes Papenberg
1e331707c2 Don't require some steps of drone ci (#25136) 2019-06-07 16:35:09 +02:00
Hannes Papenberg
0cd192af92 [4.0] Changing phpcs to run from composer and a generic image in drone (#25006) 2019-06-01 16:27:08 +01:00
Hannes Papenberg
128eafb902 Adding Postgres to system tests (#24949) 2019-05-20 09:14:27 +02:00
Robert Deutz
5d10382031 add shm_size and limit rips to run on main repo (#24908) 2019-05-15 12:30:09 +02:00
Hannes Papenberg
449ff85122 [4.0] Moving System & API Tests to main repo (#24808)
* Moving API Tests to main repo

* Codestyle

* Codestyle

* Adding system tests to main repo

* Codestyle and signing drone.yml

* Codestyle

* More Codestyle

* Adding requirements for system tests

* More fixes to system tests

* More fixes

* Removing additional composer commands

* Adding _bootstrap.php back in

* Making system test message nicer

* Making API test message nicer

* Styling CLI messages

* Signing .drone.yml
2019-05-11 18:56:38 +02:00
Hannes Papenberg
40399c5647 [4.0] Extending PHP pipeline (#24834) 2019-05-08 21:49:58 +02:00
David Jardin
43e120b622 [4.0] Execute drone tasks in parallel (#24820) 2019-05-07 12:01:42 +02:00
David Jardin
87b0f92cc6 [4.0] Include the mediamanager npm depedencies in the drone cache (#24798)
* Include the mediamanager npm depedencies in the drone cache

* fix yaml signature and syntax
2019-05-05 15:38:46 +02:00
David Jardin
b0a1592a94 [4.0] update drone YAML for drone 1.0 (#24790) 2019-05-05 12:29:48 +02:00
David Jardin
8d64acbd98 added a signature for the drone yaml to prevent tempering (#24788) 2019-05-04 18:22:55 +02:00
Hannes Papenberg
e00d44dcf4 Fixing drone clone step (#24732) 2019-04-28 13:41:10 +01:00
Robert Deutz
529f00cda4 fix javascript linter failures (#24309) 2019-03-22 10:35:09 +01:00
David Neukirchen
772fa72f98 Feature/unit tests (#23986)
* Move unit tests back to repository

* Update config files

* Psr-4 autoload tests

* Namespace JHtmlTests

* Delete unused html test files

* Add base unit test case

* Namespace Cms Tests

* Refactoring JLayoutBaseTest

* Delete JPaginationObjectTest

We do not test constructors! ;-D

* Refactor JToolbarButtonCustomTest

* Remove JToolbarButtonTest

We should not test constructor params and getters/setters

* Refactor JToolbarTests

* Refactor JVersionTest

* Run all library tests in the library suite

* Move JAccessTests to new unit suite

* Refactor JAccessRulesTest

* Add JAccessRuleTest

* Add to string test

* Remove JGrid (Class does not exist anymore)

* Remove JDocumentRendererTest

JDocumentRenderer is abstract class with only a public getter

* Rename tests/unit to tests/Unit

* CS

* Fix path to bootstrap file

* CS

* Re-enable, fix and refactor JDocumentTest

* Refactor and re-enable JBrowserTest

* Refactor and re-enable JObjectTest

* Use Joomla\Tests as root namespace

* Refactor and re-enable JFeedParserAtomTest

* Rename mock

* Namespace JHtmlStringTest

* Refactor and re-enable JFeedParserRssTest

* Refactor and re-enable JFeedEntryTest

* Use assertArrayHasKey

* Improve FeedEntry tests

* Refactor and re-enable JFeedFactoryTest

* Refactor and re-enable JFeedLinkTest

* Rename JFeedLinkTest To FeedLinkTest

* Remove JFeedPersonTest

we dont test simple constructors

* Add expectation

* Refactor and re-enable JFeedParserTest

* CS

* Refactor and re-enable JFeedTest

* Refactor and re-enable JMailHelperTest

* Fix bug in Mail class

* Refactor and re-enable MailTest

* Refactor and re-enable JMicrodataTest

* Remove JPlatformTest

* Remove tmp dir

* Fix namespaces

* Delete JLoaderTest

It heavily depends on filesystem and therefore should be tested with integration tests.
2019-03-10 15:20:06 +01:00
George Wilson
d795a9286e
Add Webservices to Joomla (#23424) 2019-03-07 18:16:06 +00:00
David Jardin
8ebb61e7e0 [4.0] Adjust CI call to RIPS (#24016)
* Remove sourcecode from RIPS after scan is finished

* fix command syntax

* adjust rips command

* use latest 1.x version of rips cli
2019-02-25 23:36:33 +01:00
wilsonge
4a3f57bb12
Merge commit '6770b31' into 4.0-dev 2018-12-29 14:12:44 +00:00
dGrammatiko
c79b555376 [4.0] ESLint javascript scripts or fail (#23363) 2018-12-29 10:46:22 +00:00
Yves Hoppe
c98df41395 [4.0][Testing] Updating drone.yml to always update JoomlaBrowser (#23094)
Updating JoomlaBrowser to the newest version for every test run.
2018-11-16 13:10:05 +01:00
George Wilson
b084ee3dd4
Fix npm test command (#22204) 2018-09-16 01:50:49 +01:00
Robert Deutz
9e4c995dc2
exclude language files changes 2018-09-10 19:28:44 +02:00
Robert Deutz
7fa18936f5
add rips security check to 4.0-dev 2018-09-05 10:28:45 +02:00
Robert Deutz
1236ea9dc8
move rebuild cache step before the tests 2018-08-08 16:12:31 +02:00
Robert Deutz
02766b059f
re-org drone.yml
created a prepare step to load/install dependencies and create css/js files
2018-07-29 11:05:54 +02:00
Robert Deutz
f7bc5e2c56
add cacheing to save us time 2018-07-28 17:28:57 +02:00
Robert Deutz
c6bbd0170f
run npm as root in container is ok 2018-07-27 14:25:20 +02:00
Robert Deutz
e214f0235e
symlink no longer needed 2018-07-22 20:09:05 +02:00
Robert Deutz
db76d5560f
use the develop version of the docker image because we need a newer node version 2018-07-22 19:59:56 +02:00
Robert Deutz
c4a0376de8
use the normal package.json 2018-07-22 18:48:54 +02:00
Robert Deutz
b8fb764d5a
reset package json file 2018-07-22 18:39:53 +02:00
Hannes Papenberg
ff3ed42c6e [4.0] Using language specific tokeniser and stemmer for com_finder (#20391) 2018-06-20 11:58:57 +01:00
Walt Sorensen
5167b85ea9 Add UTF-8 encoding to phpcs in .drone.yml (#20769) 2018-06-15 23:00:27 -05:00
Yves Hoppe
4b5111391c [4.0] Moved system tests commands from .drone.yml into test-system repo and updated composer.lock (#20084) 2018-04-06 08:57:38 +02:00
David Neukirchen
48ea35dafe Create the testing db (#20078) 2018-04-05 07:53:49 +02:00
Robert Deutz
39dd3ede50
optimisation, reduce time for testing 2018-04-02 20:14:44 +02:00
Robert Deutz
f0bba543d9
make composer output better readable 2018-04-02 19:17:42 +02:00
Robert Deutz
d8c6e27cf8
make sure we are always using the last version of the test 2018-04-02 19:07:24 +02:00
Puneet Kala
1b9a26a8ea [4.0] System Tests on Drone (#20025)
* System Tests on Drone

* ldap extension

* Change the call

* Temp Testing

* Reverting the changes

* Trying another method

* Kill the noise

* Minor changes

* Moving the dist file

* Updating Robo

* Run all of them

* Another change in Robo

* Minor Update

* Removing symphony

* CHanges not needed

* Fixing the error

* Exclude Vendor

* Minor changes in Drone

* Minor change lets see

* Skip the vendor Issue

* Trying with Update

* Move the acceptance config file

* Adding Owner

* Chown Minor Change

* Update and fixes

* Test

* Check with fake return

* I am not proud of this

* Apache fix

* Updates

* Sample to test

* Test

* wip

* wip

* WIP

* Mysql minor change

* Fix WIP

* WIP WIP WIP

* Adding back System Tests Layer

* Using the mysql layer

* Updating user

* wip

* wip

* wip

* clean up

* updating robofile

* Add date

* Deleting the lock

* adding back the original Composer lock file

* wip

* Reverting back composer.lock

* UPdating Robo FIle

* Test Commit, WIP

* Check the versions

* Update

* Update

* Adding a new folder

* Avoid Crap on Console, Keep life Simple

* Updating

* WIP

* Minor update

* Temp
2018-04-01 16:26:37 +02:00
Robert Deutz
ee0dc72ccd
re-add javascript testing 2018-04-01 15:31:04 +02:00
Robert Deutz
9b68e2cba8
executing unit tests on diffrent php versions 2018-03-31 16:19:44 +02:00
Dimitri Grammatikogianni
6bff00f723 [4.0] Javascript tests -drop node-modules directory (#16808)
* use one node-modules folder

* drone

* validate-nun, grrrr

* drop some packages for drone, restore speed

* grrr

* do not ship drone-package.json
2017-07-03 11:53:00 +01:00
Robert Deutz
2705b7b54e add phpcs to compare it with travis 2017-02-12 15:56:10 +01:00
Robert Deutz
a240a22e0e set clone deph 2017-02-12 14:32:55 +01:00
Robert Deutz
63120ec886 changed for drone0.5 2017-02-12 11:40:56 +01:00
Robert Deutz
68363524f1 use joomla-projects docker 2016-09-17 15:15:32 +02:00
Yves Hoppe
5da051aa63 Added drone.io ci-server for running JavaScript tests (#11841)
* Added drone.io ci-server for running JavaScript tests

* Added drone.io ci-server for running JavaScript tests

* Added drone.io ci-server for running JavaScript tests

* Added drone.io ci-server for running JavaScript tests
2016-08-29 22:28:42 +02:00