mirror of
https://github.com/rendercv/rendercv.git
synced 2025-12-23 21:47:55 -05:00
tests: skip more tests
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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,
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user