Fix CI
This commit is contained in:
parent
45782010d5
commit
b16cf7a719
2 changed files with 4 additions and 2 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -18,4 +18,4 @@ jobs:
|
||||||
- run: |
|
- run: |
|
||||||
poetry env use "3.10"
|
poetry env use "3.10"
|
||||||
poetry install --no-interaction
|
poetry install --no-interaction
|
||||||
- run: poetry run inv tests
|
- run: inv tests
|
||||||
|
|
|
@ -41,7 +41,9 @@ def load_config() -> Config:
|
||||||
tomli.loads((ROOT_DIR / "data" / _CONFIG_FILE).read_text())
|
tomli.loads((ROOT_DIR / "data" / _CONFIG_FILE).read_text())
|
||||||
)
|
)
|
||||||
except FileNotFoundError:
|
except FileNotFoundError:
|
||||||
raise ValueError("Please run the configuration wizard")
|
raise ValueError(
|
||||||
|
f"Please run the configuration wizard, {_CONFIG_FILE} is missing"
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def is_activitypub_requested(req: Request) -> bool:
|
def is_activitypub_requested(req: Request) -> bool:
|
||||||
|
|
Loading…
Reference in a new issue