You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ops: added coverage to ci
ops: fix ci i hope
ops: fix ci i hope 2
ops: fix ci i hope 3
ops: fix ci i hope 4
ops: fix ci i hope 5
ops: fix ci i hope
ops: setup ci yeah
Copy file name to clipboardexpand all lines: justfile
+3-5
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,11 @@ test-all:
5
5
cd test && go test
6
6
7
7
report-all:
8
-
#!/usr/bin/env sh
9
-
for file in gists storage storage server user utils organizations; do
10
-
just report-test $file
11
-
done
8
+
for file in gists storage storage server user utils organizations; do just report-test $file; done
12
9
13
10
report-testPACKAGE:
14
-
cd test && go test -coverprofile=cov-{{PACKAGE}}.out -coverpkg=./../{{PACKAGE}}&& go tool cover -html=cov-{{PACKAGE}}.out -o {{PACKAGE}}-coverage.html && rm cov-{{PACKAGE}}.out
11
+
mkdir -p test/coverage
12
+
cd test && go test -coverprofile=cov-{{PACKAGE}}.out -coverpkg=./../{{PACKAGE}}&& go tool cover -html=cov-{{PACKAGE}}.out -o coverage/{{PACKAGE}}-coverage.html && rm cov-{{PACKAGE}}.out
0 commit comments