diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 8733d25..7263b0a 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -5,6 +5,10 @@ on: branches: [master, features] pull_request: branches: [master, features] + schedule: + # Run the tests every day at 6:00 AM. + # This allows to run the tests against the relative dates + - cron: "0 6 * * *" jobs: e2e-tests: diff --git a/_kosmorro/i18n/strings.py b/_kosmorro/i18n/strings.py index cb1a08a..09899fd 100644 --- a/_kosmorro/i18n/strings.py +++ b/_kosmorro/i18n/strings.py @@ -25,7 +25,7 @@ def from_event(event: Event, with_description: bool = True) -> Union[None, str]: string = string % tuple([from_object(o.identifier) for o in event.objects]) if details is not None and with_description: - return "%s (%s)" % (string, details()) + return "%s (%s)" % (string, details(event)) return string