Commit graph

3 commits

Author SHA1 Message Date
Amir Sarabadani
719ce204a0 Reorg: Move ForeignResourceManager to ResourceLoader directory
It literally has @ingroup ResourceLoader

Bug: T321882
Change-Id: Ia5c7c56c9235f98754f6d5e602da4626a76ff083
2022-11-08 10:54:17 +01:00
James D. Forrester
2cf45bc934 ResourceLoader: Mark ForeignResourceStructureTest as @group Standalone
Follow-up 3270283abf.

This way the test is only run on commits made to this repo, not on all
skins and extensions, and so saving an awful lot of downloads from
happening in CI unnecessarily.

Bug: T203694
Change-Id: I071be5821711fb8b039ff24293f66a8ff9d70514
2022-10-27 21:24:44 +00:00
Timo Tijhof
3270283abf ResourceLoader: Add structure test for foreign-resources.yaml
Enable the equivalent of running `manageForeignResources.php verify`
as a structure test via PHPUnit.

Related cleanups for this to work well:

* Improve cache key readability before enabling in CI.
* Document how we do caching in CI.
* Change some exceptions to errors so that we don't
  stop on the first error, thus improving the usefulness of the CI
  result by telling the developer all mismatches instead of only
  the first.
* Fix incorrect typehint for nullable $integrity.

Bug: T203694
Change-Id: I8aeffc1f2e81ffcf037977528f94c00995791999
2022-10-26 10:24:15 -04:00