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

test-docs should not ignore docs changes #4392

Merged
merged 3 commits into from
May 13, 2024
Merged

Conversation

KrystalDelusion
Copy link
Member

What are the reasons/motivation for this change?
https://github.com/YosysHQ/yosys/actions/runs/9038879272 skipped test-docs because pre_job ignores changes to docs, but it should not.

Explain how this is achieved.
Add a different skip check for the docs that doesn't ignore the docs directory.

If applicable, please suggest to reviewers how they can test the change.

@KrystalDelusion KrystalDelusion requested a review from mmicko as a code owner May 10, 2024 22:57
pre_job will never skip something that is not skipped by pre_docs_job, so we can gate the build step by pre_docs_job to skip it when the two later jobs are both being skipped.
Copy link
Member

@mmicko mmicko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Was looking if we could optimize jobs by putting test-docs as part of test-verific script, it would be faster that way, but also in case of error could be confusing, so lets leave it like this

@mmicko mmicko merged commit 40c7162 into main May 13, 2024
33 checks passed
@mmicko mmicko deleted the krys/refactor-workflows branch May 13, 2024 13:04
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

Successfully merging this pull request may close these issues.

2 participants