diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26e4002..f8f21d3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,13 +49,27 @@ jobs: - name: "🏭 Use Xcode ${{ matrix.xcode }}" run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app - - name: "🧰 Prepare tools" + - name: "Build (xcodebuild)" run: | - Scripts/prepare_build_tools + set -o pipefail && \ + xcodebuild build \ + -project PactSwift.xcodeproj \ + -scheme "$SCHEME"\ + -destination "$DESTINATION" \ + GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES \ + | xcbeautify - name: "🧪 Run tests (xcodebuild)" run: | - set -o pipefail && xcodebuild -resolvePackageDependencies && xcodebuild clean test -project PactSwift.xcodeproj -scheme "$SCHEME" -destination "$DESTINATION" GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcbeautify + set -o pipefail && \ + xcodebuild -resolvePackageDependencies && \ + xcodebuild test \ + -project PactSwift.xcodeproj \ + -scheme "$SCHEME"\ + -destination "$DESTINATION" \ + GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES \ + GCC_GENERATE_TEST_COVERAGE_FILES=YES \ + | xcbeautify - name: "⚗️ Run tests (swift)" run: |