Skip to content

Commit

Permalink
tech: Refactor GitHub Actions workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
surpher committed Jun 2, 2024
1 parent c218d59 commit 53762a5
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 53762a5

Please sign in to comment.