File tree 2 files changed +1
-19
lines changed
2 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 76
76
echo "raw results=${{ toJSON(needs.interoptests.outputs) }}"
77
77
78
78
python --version
79
-
80
- # Update package list and install weasyprint
81
- sudo apt update
82
- sudo apt install -y weasyprint
83
-
84
- pip install weasyprint
85
79
86
80
echo "${{ toJSON(needs.interoptests.outputs) }}" | python3 test/collate-results.py > DataChannel_Echo_test_results.md
87
81
Original file line number Diff line number Diff line change 15
15
# 19 Feb 2021 Aaron Clauson Created, Dublin, Ireland.
16
16
# 21 Aug 2021 Aaron Clauson Investigating breaking change to weasyprint that removed the write to png function, see
17
17
# https://www.courtbouillon.org/blog/00004-weasyprint-without-cairo-what-s-different.
18
+ # 12 Oct 2023 Aaron Clauson Swtiched from csv file processing to stdin. Removed weasyprint html to png stage.
18
19
#
19
20
# License:
20
21
# BSD 3-Clause "New" or "Revised" License, see included LICENSE.md file.
24
25
import glob
25
26
import json
26
27
import sys
27
- #import pandas as pd
28
- #import dataframe_image as dfi
29
- import weasyprint as wsp
30
28
import PIL as pil
31
29
32
30
from collections import defaultdict
96
94
97
95
html += """ </body>
98
96
</html>"""
99
-
100
- #df = pd.DataFrame(results, columns=clientKeys)
101
- #print(df)
102
- #dfi.export(df, "results.png")
103
-
104
- #html = wsp.HTML(string=df.to_html())
105
- #print(html)
106
- html = wsp .HTML (string = html )
107
- html .write_png (RESULTS_FILE_PATH )
108
- #trim(RESULTS_FILE_PATH)
You can’t perform that action at this time.
0 commit comments