Skip to content
Snippets Groups Projects
Commit da13202c authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

Merge branch 'hotfix/ci' into 'release'

Fix the CI/CD job

See merge request !56
parents 4a729179 a098e591
No related branches found
No related tags found
2 merge requests!60Revert "Fail a test to be sure it works",!56Fix the CI/CD job
......@@ -14,6 +14,7 @@ before_script:
- git config --global url."git@$GITLAB_SERVER:".insteadOf "https://gitlab.com/"
- git config --global url."git@$GITLAB_SERVER:".insteadOf "https://git.xx.network/" --add
- export PATH=$HOME/go/bin:$PATH
- export GOPATH=$HOME/go/bin
stages:
- test
......@@ -43,6 +44,13 @@ wasm-test:
script:
- export PATH=/root/go/bin:$PATH
- echo > utils/utils_js.s
- env
# - go install github.com/agnivade/wasmbrowsertest@latest
# - mv ~/go/bin/go_js_wasm_exec ~/go/bin/go_js_wasm_exec.old
# - ln -s ~/go/bin/wasmbrowsertest ~/go/bin/go_js_wasm_exec
- go mod vendor
- unset SSH_PRIVATE_KEY
- unset $(env | grep '=' | awk -F= '{print $1}' | grep -v PATH | grep -v GO | grep -v HOME)
- GOOS=js GOARCH=wasm go test ./indexedDb/... -v
- GOOS=js GOARCH=wasm go test ./... -v
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment