File tree 4 files changed +22
-1
lines changed
4 files changed +22
-1
lines changed Original file line number Diff line number Diff line change
1
+ comment : false
2
+
3
+ github_checks :
4
+ annotations : false
5
+
6
+ coverage :
7
+ status :
8
+ patch : false
9
+ # project will give us the diff in the total code coverage between a commit
10
+ # and its parent
11
+ project :
12
+ default :
13
+ target : auto
14
+ threshold : " 15%"
15
+ changes : false
Original file line number Diff line number Diff line change 44
44
run : |
45
45
uname -a
46
46
make test
47
+ - name : Send to Codecov
48
+ uses : codecov/codecov-action@v5
49
+ with :
50
+ token : ${{ secrets.CODECOV_TOKEN }} # used to upload coverage reports: https://github.com/moby/buildkit/pull/4660#issue-2142122533
47
51
48
52
codespell :
49
53
runs-on : ubuntu-24.04
Original file line number Diff line number Diff line change 1
1
/_build /
2
2
/mount /go-local. *
3
+ coverage.txt
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ all: clean lint test cross
11
11
.PHONY : clean
12
12
clean :
13
13
$(RM ) mount/go-local.*
14
+ $(RM ) * /coverage.txt
14
15
15
16
.PHONY : foreach
16
17
foreach : # # Run $(CMD) for every package.
@@ -25,7 +26,7 @@ foreach: ## Run $(CMD) for every package.
25
26
26
27
.PHONY : test
27
28
test : test-local
28
- test : CMD=go test $(RUN_VIA_SUDO ) -v .
29
+ test : CMD=go test $(RUN_VIA_SUDO ) -v -coverprofile=coverage.txt -covermode=atomic .
29
30
test : foreach
30
31
31
32
# Test the mount module against the local mountinfo source code instead of the
You can’t perform that action at this time.
0 commit comments