Build/test in parallel - now with proper coverage reporting (#535)

* ci: did a roleback and reimplemented changes

* chore: added coverage for debugging

* disable xdist

* minor fix

* degging with tolerance

* updated test data

* reverted test

* chore: lint

* test cli in seriel

* we never dispatched xdist as loadgroup

* forced groups and extras

* ci: more typo fixing

* run grouped by file

* test: added pytest-rerunfailures for flaky tests

* test: removed mark as the we use file based distribution

---------

Co-authored-by: Jakob Guldberg Aaes <jakob1379@gmali.com>
This commit is contained in:
Jakob Stender Gulberg
2025-11-18 17:35:20 +01:00
committed by GitHub
parent dc11b1c708
commit a45537deb4
7 changed files with 49 additions and 7 deletions

View File

@@ -4,6 +4,7 @@ import copy
import filecmp
import itertools
import json
import os
import pathlib
import shutil
import typing
@@ -24,7 +25,7 @@ from rendercv.renderer import templater
# the output. Setting update_testdata to True will update the reference files with
# the latest RenderCV. This should be done with caution, as it will overwrite the
# reference files with the latest output.
update_testdata = False
update_testdata = os.getenv("UPDATE_TESTDATA", "false").lower() == "true"
education_entry_dictionary = {
"institution": "Boğaziçi University",

View File

@@ -15,7 +15,6 @@ folder_name_dictionary = {
"rendercv_filled_curriculum_vitae_data_model": "filled",
}
def test_typst_file_class(tmp_path, rendercv_data_model, jinja2_environment):
typst_file = templater.TypstFile(rendercv_data_model, jinja2_environment)
typst_file.get_full_code()

View File

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB