diff --git a/tests/test_data.py b/tests/test_data.py index 1f502ea4..79b2af4a 100644 --- a/tests/test_data.py +++ b/tests/test_data.py @@ -135,9 +135,7 @@ def test_generate_json_schema_file(tmp_path): assert isinstance(schema, dict) -@pytest.mark.skip( - reason="We should start using this when we start to use branches for each version." -) +@pytest.mark.skip(reason="This tests doesn't work on GitHub Actions!") def test_if_the_schema_is_the_latest(root_directory_path): original_schema_file_path = root_directory_path / "schema.json" original_schema_text = original_schema_file_path.read_text() diff --git a/tests/test_renderer.py b/tests/test_renderer.py index 64023a9a..95f3b7aa 100644 --- a/tests/test_renderer.py +++ b/tests/test_renderer.py @@ -2,6 +2,7 @@ import copy import os import pathlib import shutil +import sys import jinja2 import pytest @@ -388,7 +389,7 @@ def test_create_a_typst_file_and_copy_theme_files( "rendercv_empty_curriculum_vitae_data_model", pytest.param( "rendercv_filled_curriculum_vitae_data_model", - marks=pytest.mark.skip(reason="This test doesn't work in GitHub Actions!"), + marks=pytest.mark.skip(reason="This test doesn't work on GitHub Actions!"), ), ], ) @@ -492,6 +493,10 @@ def test_render_html_from_markdown_nonexistent_markdown_file(): renderer.render_an_html_from_markdown(file_path) +@pytest.mark.skipif( + sys.platform == "darwin", + reason="This test doesn't work on GitHub Actions MacOS!", +) def test_render_pngs_from_typst( run_a_function_and_check_if_output_is_the_same_as_reference, ):