mirror of
https://github.com/go-gitea/gitea.git
synced 2026-05-20 00:50:10 +02:00
Update AGENTS.md (#37420)
`make test-sqlite#TestName` was much too slow, suggest `go test`. Also added a similar instruction for js tests. Signed-off-by: silverwind <me@silverwind.io> Co-authored-by: Claude (Opus 4.7) <noreply@anthropic.com> Co-authored-by: Nicolas <bircni@icloud.com>
This commit is contained in:
parent
9e0f692f28
commit
f2a7f6c999
@ -2,8 +2,8 @@
|
|||||||
- Run `make fmt` to format `.go` files, and run `make lint-go` to lint them
|
- Run `make fmt` to format `.go` files, and run `make lint-go` to lint them
|
||||||
- Run `make lint-js` to lint `.ts` files
|
- Run `make lint-js` to lint `.ts` files
|
||||||
- Run `make tidy` after any `go.mod` changes
|
- Run `make tidy` after any `go.mod` changes
|
||||||
- Run single go unit tests with `go test -tags 'sqlite sqlite_unlock_notify' -run '^TestName$' ./modulepath/`
|
- Run single go tests with `go test -tags 'sqlite sqlite_unlock_notify' -run '^TestName$' ./modulepath/`
|
||||||
- Run single go integration tests with `make 'test-sqlite#TestName/Subtest'`
|
- Run single js test files with `pnpm exec vitest <path-filter>`
|
||||||
- Run single playwright e2e test files with `GITEA_TEST_E2E_FLAGS='<filepath>' make test-e2e`
|
- Run single playwright e2e test files with `GITEA_TEST_E2E_FLAGS='<filepath>' make test-e2e`
|
||||||
- Add the current year into the copyright header of new `.go` files
|
- Add the current year into the copyright header of new `.go` files
|
||||||
- Ensure no trailing whitespace in edited files
|
- Ensure no trailing whitespace in edited files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user