diff --git a/tests/conftest.py b/tests/conftest.py index 47d4af0..1a06590 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -13,7 +13,7 @@ def pytest_sessionstart(): import subprocess # Pkg.Registry.add() seems necessary for GitHub Actions - subprocess.run(['julia', f'--project={_julia_project_path}', '-e', 'using Pkg; Pkg.Registry.add(); Pkg.resolve();'], check=True) + subprocess.run(['julia', f'--project={_julia_project_path}', '-e', 'using Pkg; Pkg.Registry.add(); Pkg.resolve(); Pkg.precompile();'], check=True) @pytest.fixture diff --git a/tests/test_workflows.py b/tests/test_workflows.py index 9ce10b6..17e40bd 100644 --- a/tests/test_workflows.py +++ b/tests/test_workflows.py @@ -8,7 +8,7 @@ def test_silicon_workflow(get_dftk_code, generate_structure, generate_kpoints_me builder = DftkBaseWorkChain.get_builder() builder.dftk.code = get_dftk_code() builder.dftk.structure = generate_structure("silicon") - builder.kpoints = generate_kpoints_mesh(4) + builder.kpoints = generate_kpoints_mesh(3) builder.dftk.pseudos.Si = load_psp("Si")