mirror of
https://github.com/rendercv/rendercv.git
synced 2026-05-18 21:52:33 -04:00
try to run latex on ubuntu
This commit is contained in:
2
.github/workflows/deploy-mkdocs.yaml
vendored
2
.github/workflows/deploy-mkdocs.yaml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Deploy MkDocs
|
||||
name: deploy MkDocs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
|
||||
2
.github/workflows/python-tests.yml
vendored
2
.github/workflows/python-tests.yml
vendored
@@ -1,7 +1,7 @@
|
||||
# This workflow will install Python dependencies, run tests and lint with a variety of Python versions
|
||||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python
|
||||
|
||||
name: Python tests
|
||||
name: python tests
|
||||
|
||||
on:
|
||||
push:
|
||||
|
||||
@@ -394,7 +394,7 @@ def run_latex(latex_file_path):
|
||||
"-file-line-error",
|
||||
],
|
||||
cwd=os.path.dirname(latex_file_path),
|
||||
stdout=subprocess.DEVNULL,
|
||||
stdout=subprocess.DEVNULL, # suppress latexmk output
|
||||
)
|
||||
end_time = time.time()
|
||||
time_taken = end_time - start_time
|
||||
|
||||
@@ -400,12 +400,12 @@ class TestDataModel(unittest.TestCase):
|
||||
# Remove the output directory:
|
||||
shutil.rmtree(output_folder_path)
|
||||
|
||||
# def test_run_latex(self):
|
||||
# latex_file_path = os.path.join(
|
||||
# os.path.dirname(__file__), "reference_files", "John_Doe_CV.tex"
|
||||
# )
|
||||
def test_run_latex(self):
|
||||
latex_file_path = os.path.join(
|
||||
os.path.dirname(__file__), "reference_files", "John_Doe_CV.tex"
|
||||
)
|
||||
|
||||
# rendering.run_latex(latex_file_path)
|
||||
rendering.run_latex(latex_file_path)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
||||
Reference in New Issue
Block a user