Skip to content

Commit eef248a

Browse files
anny21Krinkle
authored andcommitted
test: Load test spec from Gerrit instead of GitHub and commit to repo
Bug: T370834 Change-Id: I59801ad4509b546bf1af1902b158830ec0f96268
1 parent f8b6023 commit eef248a

File tree

4 files changed

+963
-20
lines changed

4 files changed

+963
-20
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/coverage/
22
/doc/
3-
/test/data-*
3+
/test/data-fixture*
44
/vendor/
55
/.idea
66
/.phpunit.result.cache

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,11 @@
4040
"fix": [
4141
"phpcbf"
4242
],
43-
"phpcs": "phpcs -sp"
43+
"phpcs": "phpcs -sp",
44+
"fetch-data": [
45+
"rm -f test/data-v*.json",
46+
"curl https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/libs/node-cssjanus/+/refs/tags/v2.3.0/test/data.json?format=TEXT | base64 --decode > test/data-v2.3.0.json"
47+
]
4448
},
4549
"config": {
4650
"allow-plugins": {

0 commit comments

Comments
 (0)