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

add justfile, update readme, remove coveralls #1440

Merged
merged 17 commits into from
Jan 14, 2025
Merged

Conversation

xavdid-stripe
Copy link
Member

@xavdid-stripe xavdid-stripe commented Jan 13, 2025

Why?

In an effort to modernize and simplify our local tooling, we're moving our dev commands from makefiles to justfiles. This is intended to be mostly a drop-in replacement, but some command names may change per standardization efforts.

As part of simplifying the CI, I removed the Makefile and tox setup (since I had tweaked everything too far for them to be useful).

What?

  • added justfile
  • removed makefile
  • removed tox dependency and configuration files
  • simplified CI (moved more steps into a single, statically-versioned step and more!)
  • updated README
  • removed coveralls

See Also

DEVSDK-2325

Why Not Tox?

tox is great at simultaneously managing multiple python versions, but we don't really do that much. GH Actions handles versions in CI and locally we all just work off the same one version (and mise can swap us if we need). So our pattern of make -> tox -> pytest (/ other tools) was way harder to reason about that it needed to be.

Instead, each tool uses whatever default python is available and we ensure unit test coverage by switching out those versions. If we want to work/test against different versions locally, we manage our versions with mise and use the scripts to reset the env.

@xavdid-stripe xavdid-stripe requested review from a team and helenye-stripe and removed request for a team January 14, 2025 03:08
@xavdid-stripe xavdid-stripe marked this pull request as ready for review January 14, 2025 03:08
Copy link
Contributor

@helenye-stripe helenye-stripe left a comment

Choose a reason for hiding this comment

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

lgtm! 🔥

@xavdid-stripe xavdid-stripe merged commit bd73a32 into master Jan 14, 2025
15 checks passed
@xavdid-stripe xavdid-stripe deleted the DEVSDK-2325 branch January 14, 2025 22:21
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