Skip to content

Commit e7cd9a0

Browse files
committed
Add test-*-local targets to cover testing locally outside of GH Actions.
1 parent a53f560 commit e7cd9a0

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

Makefile

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,18 @@ test-oag-file-spec:
3333
cd stage/oag-file-spec/ && \
3434
CUSTOM=true make init-langs-config ci
3535

36+
test-oag-file-spec-local:
37+
node_modules/.bin/plop oag-file-spec -- \
38+
--project_id "oag-file-spec" \
39+
--project_name "OAGFileSpec" \
40+
--project_desc "OAG with file specification" \
41+
--author_name "Pakkun" \
42+
--author_email "blah+pakkun@cliffano.com" \
43+
--author_url "https://github.com/pakkunbot" \
44+
--github_id "pakkunbot"
45+
cd stage/oag-file-spec/ && \
46+
LOCAL=true make init-langs-config ci
47+
3648
test-oag-url-spec:
3749
node_modules/.bin/plop oag-url-spec -- \
3850
--project_id "oag-url-spec" \
@@ -45,4 +57,16 @@ test-oag-url-spec:
4557
cd stage/oag-url-spec/ && \
4658
CUSTOM=true make init-langs-config ci
4759

48-
.PHONY: ci clean clean-oag-file-spec clean-oag-url-spec stage deps generate-oag-file-spec generate-oag-url-spec test-oag-file-spec test-oag-url-spec
60+
test-oag-url-spec-local:
61+
node_modules/.bin/plop oag-url-spec -- \
62+
--project_id "oag-url-spec" \
63+
--project_name "OAGURLSpec" \
64+
--project_desc "OAG with URL specification" \
65+
--author_name "Pakkun" \
66+
--author_email "blah+pakkun@cliffano.com" \
67+
--author_url "https://github.com/pakkunbot" \
68+
--github_id "pakkunbot"
69+
cd stage/oag-url-spec/ && \
70+
LOCAL=true make init-langs-config ci
71+
72+
.PHONY: ci clean clean-oag-file-spec clean-oag-url-spec stage deps generate-oag-file-spec generate-oag-url-spec test-oag-file-spec test-oag-file-spec-local test-oag-url-spec test-oag-url-spec-local

0 commit comments

Comments
 (0)