mirror of
https://github.com/matrix-org/matrix-hookshot.git
synced 2025-03-10 21:19:13 +00:00
Make sample config CI diff visible (#97)
* Replace cmp with diff, and check if the diff is visible * changelog
This commit is contained in:
parent
8bdf789553
commit
9425b778fb
5
.github/workflows/main.yml
vendored
5
.github/workflows/main.yml
vendored
@ -37,9 +37,8 @@ jobs:
|
||||
uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: 16
|
||||
- run: yarn
|
||||
- run: node lib/Config/Defaults.js --config > expected-config.sample.yml
|
||||
- run: cmp --silent config.sample.yml expected-config.sample.yml
|
||||
- run: yarn --ignore-scripts && yarn build:app
|
||||
- run: node lib/Config/Defaults.js --config | diff config.sample.yml -
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
|
1
changelog.d/97.misc
Normal file
1
changelog.d/97.misc
Normal file
@ -0,0 +1 @@
|
||||
CI jobs now report the diff between the generated config and the in-tree sample config.
|
Loading…
x
Reference in New Issue
Block a user