From 00bbb363a78ca1757ae2ca4b9e374e37fe24884f Mon Sep 17 00:00:00 2001 From: Iskandar Abudiab Date: Thu, 16 Jul 2020 19:58:31 +0200 Subject: [PATCH] Add CI code coverage --- .github/workflows/ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1fb0602..fd431e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,9 @@ jobs: with: submodules: recursive - name: macOS - run: xcodebuild -workspace "HTMLKit.xcworkspace" -scheme "HTMLKit-macOS" -destination "platform=macOS" clean test | xcpretty + run: xcodebuild -workspace "HTMLKit.xcworkspace" -scheme "HTMLKit-macOS" -destination "platform=macOS" -configuration Debug ONLY_ACTIVE_ARCH=NO GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty + - name: code coverage + uses: codecov/codecov-action@v1 iOS: name: Test iOS runs-on: macOS-latest