Hi, this adds a raw test for forgejo/forgejo#2523.
To run it locally, call make build (once) and then make test-sqlite#TestOrgProjectHeader (after every change).
If you use vscode, you can use the Run test button:
- after running both commands above once
- and adding a
.vscode/settings.jsonfile with the following content:
{
"go.buildTags": "sqlite,sqlite_unlock_notify",
"go.testEnvVars": {
"GITEA_CONF": "tests/sqlite.ini",
"GITEA_ROOT": "${workspaceRoot}"
}
}
Hi, this adds a raw test for forgejo/forgejo#2523.
To run it locally, call `make build` (once) and then `make test-sqlite#TestOrgProjectHeader` (after every change).
If you use vscode, you can use the `Run test` button:
- after running both commands above once
- and adding a `.vscode/settings.json` file with the following content:
```json
{
"go.buildTags": "sqlite,sqlite_unlock_notify",
"go.testEnvVars": {
"GITEA_CONF": "tests/sqlite.ini",
"GITEA_ROOT": "${workspaceRoot}"
}
}
```