Skip to content
Snippets Groups Projects
Verified Commit a8ccba55 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

chore: fix ci tests

parent 0d2bc9c9
No related branches found
No related tags found
No related merge requests found
...@@ -51,6 +51,11 @@ func main() { ...@@ -51,6 +51,11 @@ func main() {
``` ```
### Job
## Tests ## Tests
Run tests using: Run tests using:
......
...@@ -131,29 +131,12 @@ EOF ...@@ -131,29 +131,12 @@ EOF
# You can use it to build the app # You can use it to build the app
scripts.test-lib.exec = '' scripts.test-lib.exec = ''
#!${pkgs.bash}/bin/bash #!${pkgs.bash}/bin/bash
#set -euo pipefail
set -x set -x
PATH="''${PATH}":${pkgs.coreutils}/bin
PATH="''${PATH}":${pkgs.findutils}/bin
PATH="''${PATH}":${pkgs.jq}/bin/
PATH="''${PATH}":${pkgs.rsync}/bin/
PATH="''${PATH}":${pkgs.bash}/bin/
PATH="''${PATH}":${pkgs.curl}/bin/
PATH="''${PATH}":${pkgs.moreutils}/bin/
PATH="''${PATH}":${pkgs.gnutar}/bin
PATH="''${PATH}":${pkgs.gzip}/bin/
PATH="''${PATH}":${pkgs.procps}/bin/
PATH="''${PATH}":${pkgs.exa}/bin/
PATH="''${PATH}":${pkgs.git}/bin/
PATH="''${PATH}":${pkgs.gnugrep}/bin/
PATH="''${PATH}":${
inputs.version.defaultPackage."${builtins.currentSystem}"
}/bin/
export PATH
task test ${pkgs.gosec}/bin/gosec ${config.devenv.root}
${pkgs.go}/bin/go test -tags=runOnTask -cover -v ${config.devenv.root}
${pkgs.go}/bin/go test -tags=runOnTask -bench -v ${config.devenv.root}
${pkgs.go}/bin/go test -tags=runOnTask -race -v ${config.devenv.root}
''; '';
......
File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment