nixpkgs/pkgs/by-name/fo/forgejo
emilylange 010157293b
forgejo: actually run go tests
We cannot rely on `buildGoModule`'s default test selection if
`subPackages` is set:

~~~
Running phase: checkPhase
?       code.gitea.io/gitea     [no test files]
?       code.gitea.io/gitea/contrib/environment-to-ini  [no test files]
checkPhase completed in 53 seconds
~~~

So we override it in `preCheck` and skip some tests that fail in our
sandbox (e.g. because they require networking).

Note that this does slow down building the package quite a bit because
there are a lot of tests to run.

Still worth it IMHO.
2024-06-18 21:36:26 +02:00
..
package-json-npm-build-frontend.patch
package.nix forgejo: actually run go tests 2024-06-18 21:36:26 +02:00
static-root-path.patch