Skip to content

Commit 137ae29

Browse files
Merge pull request #155 from adamtheturtle/windows-trial
Add support for Windows
2 parents c52fa6e + 71c4a7c commit 137ae29

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
matrix:
2020
python-version: ['3.12', '3.13']
21-
platform: [ubuntu-latest]
21+
platform: [ubuntu-latest, windows-latest]
2222

2323
runs-on: ${{ matrix.platform }}
2424

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ requires-python = ">=3.12"
2121
classifiers = [
2222
"Development Status :: 5 - Production/Stable",
2323
"Environment :: Web Environment",
24+
"Operating System :: Microsoft :: Windows",
2425
"Operating System :: POSIX",
2526
"Programming Language :: Python :: 3 :: Only",
2627
"Programming Language :: Python :: 3.12",

tests/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def _assert_rst_converts_to_notion_objects(
105105
app.build()
106106

107107
output_file = app.outdir / "index.json"
108-
with output_file.open() as f:
108+
with output_file.open(encoding="utf-8") as f:
109109
generated_json: list[dict[str, Any]] = json.load(fp=f)
110110

111111
generated_json_un_flattened = _reconstruct_nested_structure(

0 commit comments

Comments
 (0)