Conversation
256bc54 to
5f254a3
Compare
justfile
Outdated
| if ! git diff --quiet pyproject.toml; then | ||
| uv run pytest .github/workflows {{ FLAGS }} | ||
| fi | ||
| @uv run pytest .github/workflows tests -m "not integration" {{ FLAGS }} |
There was a problem hiding this comment.
isn't this skipping the tests?
There was a problem hiding this comment.
do you mean the @ prefix?
the varargs just runs it on 2 folders instead of 1 now (we do skip exchange tests, but that was always the case). it didn't make any sense why i'd only run unit tests if the project toml changed
$ just test
========= 197 passed in 6.78s ==========
There was a problem hiding this comment.
ah ok - I thought removing uv run pytest tests -m "not integration" {{ FLAGS }} means it would only run workflow tests?
There was a problem hiding this comment.
ah i see, there's 2 folders there that isn't super obvious. added trailing slashes for clarity if that makes more sense 3309b70
| get-tag-version: | ||
| #!/usr/bin/env bash | ||
| uvx --from=toml-cli toml get --toml-path=pyproject.toml "project.version" | ||
| @uvx --from=toml-cli toml get --toml-path=pyproject.toml "project.version" |
There was a problem hiding this comment.
what does '@' do in a justfile?
There was a problem hiding this comment.
just suppresses the command to stdout
with @
hello:
@echo "hello world"hello world
without
hello:
echo "hello world"echo "hello world!"
hello world
* main: chore: housekeeping (#202) feat: reduce tool entrypoints in synopsis for text editor, bash, process manager (#191) feat: list moderators (#204) chore: Minor changes in providers envs logic (#161) chore: add `.vscode` workspace settings and suggested extensions (#200) feat: license checker (#201) feat: include new anthropic model in docs and recommended config (#198) feat: tiny change so you know what processing is doing (#196) docs: correct intellij link (#197) docs: remove small duplication (#194) chore: add tracing option to run and group traces under session name (#187) docs: fix mkdocs, update to new references (#193)
just --listis a little longer now it's easier to read