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

chore: move tests to starflow #241

Merged
merged 13 commits into from
Dec 16, 2024
Merged

chore: move tests to starflow #241

merged 13 commits into from
Dec 16, 2024

Conversation

lengau
Copy link
Collaborator

@lengau lengau commented Dec 11, 2024

This may be easiest to review per-commit, since there's a big autoformat in the middle that changes a lot of files.

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run make lint && make test?

@lengau lengau added the rebase label Dec 11, 2024
@lengau lengau force-pushed the work/starflow branch 5 times, most recently from 3ab0b70 to f715a08 Compare December 11, 2024 23:47
@lengau lengau changed the title Work/starflow chore: move tests to starflow Dec 11, 2024
@lengau lengau marked this pull request as ready for review December 11, 2024 23:56
@lengau lengau force-pushed the work/starflow branch 2 times, most recently from 0353773 to a19f2dc Compare December 12, 2024 03:34
@sergiusens
Copy link
Collaborator

Is the practice we are adopting to use lock files in our libraries? Is this mostly for us?

pyproject.toml Outdated Show resolved Hide resolved
@sergiusens sergiusens requested a review from medubelko December 13, 2024 11:50
Copy link
Collaborator

@sergiusens sergiusens left a comment

Choose a reason for hiding this comment

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

Looks good, I would appreciate consideration of my comments though

Copy link

@medubelko medubelko left a comment

Choose a reason for hiding this comment

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

When I ran make setup, I ran into:

warning: `/home/medubelko/.local/bin` is not on your PATH. To use installed tools, run `export PATH="/home/medubelko/.local/bin:$PATH"` or `uv tool update-shell`.
/bin/sh: 2: pre-commit: not found
make: *** [common.mk:62: setup-precommit] Error 127

Since this blocks tests until I run uv tool ..., is this something we should add to the setup command, or document it?

When I tried to fix it, make setup resulted in:

uv tool install pre-commit
pre-commit install
`pre-commit` is already installed
/bin/sh: 2: pre-commit: not found
make: *** [common.mk:62: setup-precommit] Error 127

The docs build OK, minus we're missing the shared resources, but that's out of scope for this PR.

README.md Show resolved Hide resolved
@lengau
Copy link
Collaborator Author

lengau commented Dec 13, 2024

@medubelko could you try the fix at canonical/starbase#300?

Switching to the starbase Makefile also swaps black for ruff.
@lengau lengau merged commit 6ca1866 into main Dec 16, 2024
19 checks passed
@lengau lengau deleted the work/starflow branch December 16, 2024 15:09
lengau added a commit to canonical/starbase that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants