File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed
Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -21,17 +21,34 @@ jobs:
2121 - name : Install dependencies
2222 run : |
2323 sudo apt-get update
24- sudo apt-get install -y tcl tcllib expect
24+ sudo apt-get install -y tcl tcllib expect ruby ruby-dev build-essential
2525 pip install pyyaml
26+ gem install --user-install asciidoctor-pdf
27+ gem install --user-install rouge
28+ echo "PATH=$PATH:$(ruby -e 'puts Gem.user_dir')/bin" >> $GITHUB_ENV
2629
2730 - name : Run Unit Tests
2831 run : python3 9pm.py --option cmdl-supplied unit_tests/auto.yaml
2932
3033 - name : Publish Test Result
3134 run : cat ~/9pm_log/last/result-gh.md >> $GITHUB_STEP_SUMMARY
3235
36+ - name : Generate Test Report
37+ run : |
38+ asciidoctor-pdf \
39+ --theme report/theme.yml \
40+ -a pdf-fontsdir=report/fonts \
41+ ~/9pm_log/last/report.adoc \
42+ -o ~/9pm_log/last/report.pdf
43+
3344 - name : Upload Logs as Artifacts
3445 uses : actions/upload-artifact@v3
3546 with :
3647 name : 9pm-logs
37- path : ~/9pm_log/
48+ path : ~/9pm_log/
49+
50+ - name : Upload Test Report as Artifact
51+ uses : actions/upload-artifact@v3
52+ with :
53+ name : test-report
54+ path : ~/9pm_log/last/report.pdf
You can’t perform that action at this time.
0 commit comments