Nicolas Peugnet 08b36149fd
test(testing): run flarum/testing package tests (#3844)
* chore(testing): run flarum/testing packages tests back again

These tests were not run on each framework build, I enabled them again.
Two of the tests were failing so I disabled them for now, it is more
important to have some tests running than none at all.

* chore(testing): remove flarum/testing dedicated workflow

It is useless now that the tests are run in the framework repo.
Also this workflow was not working anymore.

---------

Co-authored-by: Sami Mazouz <sychocouldy@gmail.com>
2024-11-29 13:54:20 +01:00

47 lines
1.2 KiB
JSON

{
"name": "flarum/testing-tests",
"description": "Minimal extension to test the flarum/testing package",
"type": "flarum-extension",
"require": {
"flarum/core": "^2.0@dev"
},
"require-dev": {
"flarum/testing": "*@dev"
},
"autoload-dev": {
"psr-4": {
"Flarum\\Testing\\Tests\\": "tests/"
}
},
"extra": {
"flarum-extension": {
"title": "Testing",
"category": "feature",
"icon": {
"name": "fas fa-vial",
"backgroundColor": "#ABDC88",
"color": "#3F8A32"
}
}
},
"scripts": {
"test": [
"@test:unit",
"@test:integration"
],
"test:unit": "phpunit -c tests/phpunit.unit.xml",
"test:integration": "phpunit -c tests/phpunit.integration.xml",
"test:setup": "@php tests/integration/setup.php"
},
"scripts-descriptions": {
"test": "Runs all tests.",
"test:unit": "Runs all unit tests.",
"test:integration": "Runs all integration tests.",
"test:setup": "Sets up a database for use with integration tests. Execute this only once."
},
"repositories": [{
"type": "path",
"url": "../"
}]
}