Skip to content

Commit eca9f10

Browse files
committed
Removed weasyprint.
1 parent cf50670 commit eca9f10

File tree

2 files changed

+1
-19
lines changed

2 files changed

+1
-19
lines changed

.github/workflows/datachannel_echo-test.yml

-6
Original file line numberDiff line numberDiff line change
@@ -76,12 +76,6 @@ jobs:
7676
echo "raw results=${{ toJSON(needs.interoptests.outputs) }}"
7777
7878
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
8579
8680
echo "${{ toJSON(needs.interoptests.outputs) }}" | python3 test/collate-results.py > DataChannel_Echo_test_results.md
8781

test/collate-results.py

+1-13
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
# 19 Feb 2021 Aaron Clauson Created, Dublin, Ireland.
1616
# 21 Aug 2021 Aaron Clauson Investigating breaking change to weasyprint that removed the write to png function, see
1717
# 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.
1819
#
1920
# License:
2021
# BSD 3-Clause "New" or "Revised" License, see included LICENSE.md file.
@@ -24,9 +25,6 @@
2425
import glob
2526
import json
2627
import sys
27-
#import pandas as pd
28-
#import dataframe_image as dfi
29-
import weasyprint as wsp
3028
import PIL as pil
3129

3230
from collections import defaultdict
@@ -96,13 +94,3 @@
9694

9795
html += """ </body>
9896
</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)

0 commit comments

Comments
 (0)