File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed
Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 2626 uses : golangci/golangci-lint-action@v6
2727 with :
2828 version : latest
29- - name : Tests
29+ - name : Unit Tests
30+ run : make test-unit-codecov
31+ - name : Integration Tests
3032 env :
3133 SQLITE_CONNECTION_STRING : ${{ vars.SQLITE_CONNECTION_STRING }}
3234 SQLITE_USER : ${{ secrets.SQLITE_USER }}
4042 uses : codecov/codecov-action@v4.0.1
4143 with :
4244 token : ${{ secrets.CODECOV_TOKEN }}
43- files : ./test/coverage.out
45+ files : ./coverage-unit.out,./ test/coverage.out
Original file line number Diff line number Diff line change @@ -7,7 +7,14 @@ setup-ide:
77 cd test ; go mod tidy
88 cd cli; go mod tidy
99
10- # Test SDK
10+ # Unit tests (root package)
11+ test-unit :
12+ go test -v .
13+
14+ test-unit-codecov :
15+ go test -v -race -coverprofile=coverage-unit.out -covermode=atomic .
16+
17+ # Integration tests (test/ directory)
1118test :
1219 cd test ; go mod tidy && go test -v .
1320
You can’t perform that action at this time.
0 commit comments