Skip to content

Commit

Permalink
Try to make things faster on GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Nov 7, 2024
1 parent a7b1d83 commit afea538
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion tests/test_workflows.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit afea538

Please sign in to comment.