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

Fix python dependencies and test them on each commit/PR #44

Merged
merged 7 commits into from
Jun 16, 2024

Conversation

aantn
Copy link
Contributor

@aantn aantn commented Jun 16, 2024

Background

We accidentally shipped broken binaries for the last version which were missing a python dependency. To fix that, this PR:

  1. Removes requirements.txt and always relies on poetry so that the two cannot be out of sync
  2. Build and tests binaries on every commit and PR

Testing

I pushed a "bad commit" to this branch which imported a package not in pyproject.toml. I verified that the tests failed. Then I verified that once the commit was reverted, this branch builds properly and all tests pass.

@aantn aantn requested a review from Sheeproid June 16, 2024 12:02
@aantn aantn changed the title Create build-and-test.yaml Fix python dependencies and test them on each commit/PR Jun 16, 2024
Copy link
Contributor

@Sheeproid Sheeproid left a comment

Choose a reason for hiding this comment

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

Nice work. LGTM

@aantn aantn merged commit 7ff0fee into master Jun 16, 2024
9 checks passed
@aantn aantn deleted the add-github-action-to-test-binaries branch June 16, 2024 14:15
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