From 08ddf8568886d695ff68fe498623dfa302d86fff Mon Sep 17 00:00:00 2001 From: Ihor Kalnytskyi Date: Sat, 4 Nov 2023 00:48:29 +0200 Subject: [PATCH] Add macOS support Add macOS to test matrix in order to make sure we don't regress on that platform. --- .github/workflows/ci.yml | 2 +- tests/_processors/test_commonmark.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0794e1c..019301e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,5 +39,5 @@ jobs: strategy: matrix: - os: [ubuntu-latest] + os: [ubuntu-latest, macos-latest] python-version: ["3.10", "3.11", "3.12"] diff --git a/tests/_processors/test_commonmark.py b/tests/_processors/test_commonmark.py index db73d8e..4296d4f 100644 --- a/tests/_processors/test_commonmark.py +++ b/tests/_processors/test_commonmark.py @@ -408,7 +408,7 @@ def test_args_pygmentize_unknown_language(testapp, language): def test_item_exec(testapp): - """Commonmark has to render DOT snippets into SVG if asked to render.""" + """Commonmark has to pipe code content through an executable if asked to.""" stream = commonmark.process( testapp, @@ -417,7 +417,7 @@ def test_item_exec(testapp): { "content": textwrap.dedent( """ - ```text {"exec": ["sed", "--expression", "s/ a / the /g"]} + ```text {"exec": ["sed", "s/ a / the /g"]} yoda, a jedi grandmaster ``` """