ci: add test for validating generated example config is current
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
1c751168c6
commit
b87362cbf1
1 changed files with 10 additions and 0 deletions
10
engage.toml
10
engage.toml
|
@ -188,6 +188,16 @@ cargo test \
|
||||||
--color=always
|
--color=always
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
# Checks if the generated example config differs from the checked in repo's
|
||||||
|
# example config.
|
||||||
|
[[task]]
|
||||||
|
name = "example-config"
|
||||||
|
group = "tests"
|
||||||
|
depends = ["cargo/default"]
|
||||||
|
script = """
|
||||||
|
git diff --exit-code conduwuit-example.toml
|
||||||
|
"""
|
||||||
|
|
||||||
# Ensure that the flake's default output can build and run without crashing
|
# Ensure that the flake's default output can build and run without crashing
|
||||||
#
|
#
|
||||||
# This is a dynamically-linked jemalloc build, which is a case not covered by
|
# This is a dynamically-linked jemalloc build, which is a case not covered by
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue