Skip to content

Commit c057c26

Browse files
committed
Fix Playwright test setup and ensure template files are included in package
1 parent 2d64770 commit c057c26

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.github/workflows/pages-ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,9 @@ jobs:
2929
pip install pytest pytest-playwright
3030
python -m playwright install
3131
32+
- name: Install Playwright system dependencies
33+
run: |
34+
playwright install-deps
35+
3236
- name: Run Playwright browser test
3337
run: pytest tests/browser/test_corpus_decoder.py

pyproject.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ corpus_to_pcap = "curl_fuzzer_tools.corpus_to_pcap:run"
4040
generate_matrix = "curl_fuzzer_tools.generate_matrix:run"
4141
generate_decoder_html = "curl_fuzzer_tools.generate_decoder_html:run"
4242

43+
44+
[tool.setuptools.package-data]
45+
curl_fuzzer_tools = ["templates/*.html"]
46+
4347
[build-system]
4448
requires = ["setuptools>=61.0"]
4549
build-backend = "setuptools.build_meta"

0 commit comments

Comments
 (0)