File tree Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Expand file tree Collapse file tree 1 file changed +11
-6
lines changed Original file line number Diff line number Diff line change 29
29
required : false
30
30
type : string
31
31
default : ' '
32
+ test-path :
33
+ required : false
34
+ type : string
35
+ default : ' test'
32
36
33
37
env :
34
38
FLV : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.flavor || inputs.flavor }}
35
39
INFIX_REPO : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.infix_repo || inputs.infix_repo }}
36
40
NINEPM_CONF : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.ninepm-conf || inputs.ninepm-conf }}
41
+ TEST_PATH : ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.test-path || inputs.test-path }}
37
42
38
43
jobs :
39
44
test :
@@ -91,21 +96,21 @@ jobs:
91
96
- name : Publish Test Result for x86_64${{ steps.vars.outputs.flv }}
92
97
# Ensure this runs even if Regression Test fails
93
98
if : always()
94
- run : cat test /.log/last/result-gh.md >> $GITHUB_STEP_SUMMARY
99
+ run : cat $TEST_PATH /.log/last/result-gh.md >> $GITHUB_STEP_SUMMARY
95
100
96
101
- name : Generate Test Report for x86_64${{ steps.vars.outputs.flv }}
97
102
# Ensure this runs even if Regression Test fails
98
103
if : always()
99
104
run : |
100
105
asciidoctor-pdf \
101
- --theme test /9pm/report/theme.yml \
102
- -a pdf-fontsdir=test /9pm/report/fonts \
103
- test /.log/last/report.adoc \
104
- -o test /.log/last/report.pdf
106
+ --theme $TEST_PATH /9pm/report/theme.yml \
107
+ -a pdf-fontsdir=$TEST_PATH /9pm/report/fonts \
108
+ $TEST_PATH /.log/last/report.adoc \
109
+ -o $TEST_PATH /.log/last/report.pdf
105
110
106
111
- name : Upload Test Report as Artifact
107
112
uses : actions/upload-artifact@v4
108
113
with :
109
114
name : test-report
110
- path : test /.log/last/report.pdf
115
+ path : ${{ env.TEST_PATH }} /.log/last/report.pdf
111
116
You can’t perform that action at this time.
0 commit comments