Playing around with mise for env management + task management#162
Open
freider wants to merge 1 commit into
Open
Playing around with mise for env management + task management#162freider wants to merge 1 commit into
freider wants to merge 1 commit into
Conversation
|
|
||
| [tasks.test] | ||
| description = "Test go" | ||
| run = "go test -v -run ./test" |
There was a problem hiding this comment.
Bug: Incorrect Regex Pattern in Go Test Command
The go test command incorrectly uses -run ./test. The -run flag expects a regex pattern for test names, but ./test is a package path. This means tests in the ./test directory won't run, as the command will try to match test function names against the literal pattern ./test.
Contributor
|
We should probably close this right @freider ? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note
Introduce mise-based monorepo task management with Python bootstrap/protoc, JS build/protoc, Go/JS tests, a test-support deploy task, and ignore task markers.
mise.toml: Define monorepo tasks and tools (python 3.11, uv). Add tasks::py-install,:py-protoc,:py-bootstrap, and:deploy-test-support(deploys Modal test support, writes.task_markers/last-test-support-deploy).modal-js/mise.toml: Add Node 22 and tasks:bootstrap(npm i),:protoc(generate TS from../modal-client/modal_proto/*.proto),:build, and:test(depends on//:deploy-test-support).modal-go/mise.toml: Add Go 1.23 and:testtask (depends on//:deploy-test-support)..task_markers.Written by Cursor Bugbot for commit 351dbb7. This will update automatically on new commits. Configure here.