File tree Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Expand file tree Collapse file tree 1 file changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -114,9 +114,21 @@ check-dotnet:
114
114
115
115
# -----------------------------------------------------------------------------
116
116
117
+ build : forwarder-build
118
+
119
+ # -----------------------------------------------------------------------------
120
+
117
121
test-gh-actions :
118
122
@if [ -z " $$ (command -v act)" ]; then echo " Requires act command installed" ; exit -1 ; fi
119
- act workflow_dispatch -n -e ./test/test-gh-event.json
123
+ @bash -c " act release -n -e ./test/test-gh-event.json 2> >(tee /tmp/gh-actions-errors.log >&2)" ; \
124
+ if [ -s /tmp/gh-actions-errors.log ]; then \
125
+ cat /tmp/gh-actions-errors.log ; \
126
+ echo " > Errors found" ; \
127
+ exit -1; \
128
+ fi ; \
129
+ echo " > No errors on release event workflows"
130
+
131
+ all-tests : check build test-gh-actions
120
132
121
133
# -----------------------------------------------------------------------------
122
134
You can’t perform that action at this time.
0 commit comments