diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4378d49..9d63f27 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -158,3 +158,8 @@ jobs: - name: Unit Test run: make test-without-building + + - name: Upload coverage reports to Codecov + uses: codecov/codecov-action@v3 + env: + CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} diff --git a/Makefile b/Makefile index c57ac31..a71207d 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,7 @@ TEST_WITHOUT_BUILDING=$(XCODEBUILD) $(OPTIONS) $(DESTINATION) \ -skip-testing:BucketeerTests/E2EEvaluationTests \ -skip-testing:BucketeerTests/E2EEventTests \ -skip-testing:BucketeerTests/E2EMetricsEventTests \ + -enableCodeCoverage YES \ test-without-building E2E_WITHOUT_BUILDING=$(XCODEBUILD) $(OPTIONS) $(DESTINATION) \ -configuration $(CONFIGURATION) \ @@ -39,6 +40,7 @@ E2E_WITHOUT_BUILDING=$(XCODEBUILD) $(OPTIONS) $(DESTINATION) \ -only-testing:BucketeerTests/E2EEvaluationTests \ -only-testing:BucketeerTests/E2EEventTests \ -only-testing:BucketeerTests/E2EMetricsEventTests \ + -enableCodeCoverage YES \ test-without-building E2E_API_ENDPOINT=$(E2E_API_ENDPOINT) E2E_API_KEY=$(E2E_API_KEY) ALL_TEST_WITHOUT_BUILDING=$(XCODEBUILD) $(OPTIONS) $(DESTINATION) \ -configuration $(CONFIGURATION) \