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: add just test task #583

Merged
merged 2 commits into from
Dec 17, 2024
Merged

chore: add just test task #583

merged 2 commits into from
Dec 17, 2024

Conversation

estensen
Copy link
Contributor

No description provided.

justfile Outdated
@just test-package bolt-sidecar

# run tests in a specific package using nextest
test-package package:
Copy link
Contributor Author

Choose a reason for hiding this comment

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

think it's better that just test tests all packages than this, but open for other suggestions on what to call it

Copy link
Contributor

Choose a reason for hiding this comment

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

If you want you can have a command for them all!

# Run tests in all packages or a specific package
test package='': 
    @if [[ "{{package}}" == "" ]]; then \
        just test-package bolt-cli; \
        just test-package bolt-boost; \
        just test-package bolt-sidecar; \
    else \
        just test-package {{package}}; \
    fi

Make sure this works, I know it is possible but this is gpt-generated :D

Copy link
Contributor Author

Choose a reason for hiding this comment

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

ty, it worked

@estensen estensen merged commit d747243 into unstable Dec 17, 2024
1 of 2 checks passed
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.

3 participants