Skip to content

Commit

Permalink
Used a more robust way to get the hydra config. Unsure why it only fa…
Browse files Browse the repository at this point in the history
…ils on GH
  • Loading branch information
mmcdermott committed Jun 12, 2024
1 parent 7e72c8c commit ee5d0e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
#----------------------------------------------
- name: Run tests
run: |
pytest -v --doctest-modules --ignore=profiling/ --ignore=run.py --ignore=docs/ --cov=src -s
pytest -v --doctest-modules --ignore=docs/ --cov=src -s
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4.0.1
Expand Down
3 changes: 2 additions & 1 deletion src/aces/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@ def main(cfg: DictConfig):
from datetime import datetime
from pathlib import Path

from hydra.core.hydra_config import HydraConfig
from omegaconf import OmegaConf

from . import config, predicates, query, utils

utils.hydra_loguru_init(f"{cfg.hydra.job.name}.log")
utils.hydra_loguru_init(f"{HydraConfig.get().job.name}.log")

st = datetime.now()

Expand Down

0 comments on commit ee5d0e5

Please sign in to comment.