Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
forgefriends
Forgefriends
Commits
ff39ee4a
Verified
Commit
ff39ee4a
authored
Nov 15, 2021
by
Loïc Dachary
Browse files
CI: unit tests for models race with each other and sometime fail
Signed-off-by:
Loïc Dachary
<
loic@dachary.org
>
parent
f523580f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
ff39ee4a
...
...
@@ -363,7 +363,7 @@ coverage:
.PHONY
:
unit-test-coverage
unit-test-coverage
:
@
echo
"Running unit-test-coverage
$(GOTESTFLAGS)
-tags '
$(TEST_TAGS)
'..."
@
$(GO)
test
$(GOTESTFLAGS)
-timeout
=
20m
-tags
=
'
$(TEST_TAGS)
'
-cover
-coverprofile
coverage.out
$(GO_PACKAGES)
&&
echo
"
\n
==>
\0
33[32m Ok
\0
33[m
\n
"
||
exit
1
@
$(GO)
test
$(GOTESTFLAGS)
-cpu
=
1
-timeout
=
20m
-tags
=
'
$(TEST_TAGS)
'
-cover
-coverprofile
coverage.out
$(GO_PACKAGES)
&&
echo
"
\n
==>
\0
33[32m Ok
\0
33[m
\n
"
||
exit
1
.PHONY
:
vendor
vendor
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment