Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integration tests fail to pickup YAML error #50

Open
glenrobson opened this issue Aug 11, 2021 · 1 comment
Open

Integration tests fail to pickup YAML error #50

glenrobson opened this issue Aug 11, 2021 · 1 comment
Assignees

Comments

@glenrobson
Copy link
Member

glenrobson commented Aug 11, 2021

Is there a way to get the integration tests to fail if there is a problem with the YAML? There was the following issue with the index page which meant the main page failed to load the CSS:

IIIF/website@d5363bc

There was the following warning when Jekyll was built but it passed the GitHub actions tasks:

YAML Exception reading /Users/gmr/development/iiif/website/source/index.md: (<unknown>): did not find expected key while parsing a block mapping at line 37 column 7
@mnyrop mnyrop self-assigned this Aug 17, 2021
@mnyrop
Copy link
Member

mnyrop commented Aug 17, 2021

Hmm that's interesting. jekyll build should be exactly the same locally and on actions.
We can try adding strict_front_matter: true in the config or running jekyll build --strict_front_matter within the actions workflows...? (h/t https://jekyllrb.com/docs/configuration/options/)

I can play around with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants