Skip to content

Commit

Permalink
Add pkg registry add
Browse files Browse the repository at this point in the history
  • Loading branch information
Technici4n committed Nov 6, 2024
1 parent f762094 commit edfeaf3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ def pytest_sessionstart():
"""Instantiates the test Julia environment before any test runs."""
import subprocess

subprocess.run(['julia', f'--project={_julia_project_path}', '-e', 'using Pkg; Pkg.resolve();'], check=True)
# 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)


@pytest.fixture
Expand Down

0 comments on commit edfeaf3

Please sign in to comment.