From 53762a596549f7727d01114c4405c402d9412e4e Mon Sep 17 00:00:00 2001 From: Marko Justinek <1733327+surpher@users.noreply.github.com> Date: Sun, 2 Jun 2024 16:45:52 +1000 Subject: [PATCH] tech: Refactor GitHub Actions workflow --- .github/workflows/build.yml | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 26e4002..3b7a87b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -49,15 +49,17 @@ jobs: - name: "🏭 Use Xcode ${{ matrix.xcode }}" run: sudo xcode-select -switch /Applications/Xcode_${{ matrix.xcode }}.app - - name: "🧰 Prepare tools" - run: | - Scripts/prepare_build_tools - - 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" \ + | xcbeautify - - name: "⚗️ Run tests (swift)" - run: | - swift build - swift test -c release + # - name: "⚗️ Run tests (swift)" + # run: | + # swift build + # swift test -c release