Fix: Remove test-all command from Justfile #1721
No reviewers
Labels
No labels
DB & Storage
Deployment
Error Handling & Logging
Maintenance
Payment Backend
backport
backport v0.13.x
backport v0.14.x
backport v0.15.x
bindings
blocked
bug
cdk-sql
ci
cli
deps
documentation
duplicate
enhancement
good first issue
help wanted
invalid
keep-open
ldk-node-ui
migrations
mint
mutation-testing
needs rebase
needs review
new nut
nut change
question
ready
rust-version
rustfmt
stacked hold
stale
testing
wallet
weekly-report
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
cashubtc/cdk!1721
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/justfile"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
The command
just test-alldoesn't seem to work. This PR try to fix this calling the other tests with right arguments.edit: Remove this command because it's heavy to be useful.
Notes to the reviewers
Addedtest-unitsandtest-puretotest-allcommandChange the default database to sqlite (memory and postgresql does not work on my machine)test-allcommand from justfilejustfileSuggested CHANGELOG Updates
CHANGED
justfiletest-all commandADDED
REMOVED
justfiletest-all commandFIXED
Checklist
just final-checkbefore committingHonestly, I think the just test all is probably to heavy to be useful and should maybe just be removed.
I agree. I was using before every PR but take a lot of time. Now i just use
final-checkandtest-pure(that take a long time too).I will change this PR propouse to remove then
I updated the PR recommendation to be run just quick-check but think you opened this before I merged that since it just says final check.This should be faster then final-check, as it just runs fmt, clippy and unit tests without integrations tests. But it is still slow but thats just rust. I was thinking we could remove the unit tests from this or make it an optional flag to make it fast. A I'm not sure running all unit tests like that is generally helpful as you're re running tests is parts of the code base that you didn't change. I generally just run the specefic tests that I know cover what I'm working on but this is tougher for new contributors that don't know the code base well or test suite.Edit: Looks like I added the quick-check command but didn't update the PR template