Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

ci: ensure that requirements files are in sync #48

Merged
merged 1 commit into from
Oct 31, 2019

Conversation

redshiftzero
Copy link
Contributor

@redshiftzero redshiftzero commented Oct 23, 2019

This PR guards against a scenario discovered here wherein a contributor would update build-requirements.txt but not requirements.txt and our build would pass in CI. We want to ensure that these requirements files are kept in sync and prevent merge of diffs that update one but not the other.

To confirm this change works as expected, you can inspect:

this guards against a scenario discovered in:

#46 (comment)

wherein a contributor would update build-requirements.txt but
not requirements.txt
Copy link
Contributor

@kushaldas kushaldas left a comment

Choose a reason for hiding this comment

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

This is good and works as expected. 🦄

@kushaldas kushaldas merged commit 3b63537 into master Oct 31, 2019
@kushaldas kushaldas deleted the ci-requirements-sync branch October 31, 2019 05:51
redshiftzero added a commit to freedomofpress/securedrop-client that referenced this pull request Oct 31, 2019
this ensures that diffs that update build-requirements.txt without
updating requirements.txt fail CI
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants